Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE] Authentication for CI/CD #408

Open
lechnerc77 opened this issue Sep 6, 2023 · 7 comments
Open

[FEATURE] Authentication for CI/CD #408

lechnerc77 opened this issue Sep 6, 2023 · 7 comments
Labels
btpcli Dependency to BTP CLI backend development enhancement New feature or request

Comments

@lechnerc77
Copy link
Member

The currently supported authentication mechanisms are username/password and with release 0.4.0-beta1 a token based authentication that can only be used SAP-internally.

The provider and the underlying BTP CLI Server still lack the support of an authentication flow that enables CI/CD scenarios.

This ticket s a follow-up to #8, to keep this necessary enhancement of the provider authentications flow in the backlog

@lechnerc77 lechnerc77 added enhancement New feature or request btpcli Dependency to BTP CLI backend development relevant-for-ga GA relevant issue labels Sep 6, 2023
@lechnerc77
Copy link
Member Author

Update:

@lechnerc77
Copy link
Member Author

Status Quo: SAP IdP has functional limitations/gaps when it comes to the default setup on SAP BTP. This blocks the comprehensive enablement of Authentication flows.

The topic is in process by the corresponding team, but no ETA is available

@lechnerc77 lechnerc77 removed the relevant-for-ga GA relevant issue label Oct 25, 2023
@lechnerc77
Copy link
Member Author

Re-Check after Q2/2024

@se-wo
Copy link

se-wo commented Nov 1, 2024

@lechnerc77 any update on this?

@lechnerc77
Copy link
Member Author

@se-wo there is currently no activity in supporting furthr authentication flows besides the ones currently supported and documented at https://registry.terraform.io/providers/SAP/btp/latest/docs
Up to now no customer requests have rechaed us that would need further flows.

@se-wo
Copy link

se-wo commented Nov 2, 2024

@lechnerc77 How are other customers solving this? Creating S-Users or P-Users for deployment pipelines feels painful to me. No proper governance and you need unique emails for all of them. Most of the time this will result in very few if not only a single user for deployments. No password policy. Not to talk about personal user that are used for CD and break as soon as somebody leaves.
Besides we try to use our own IAM everywhere.
On the other hand IAS is also not nice. At least I can create the users more easily. But those are only normal users. No (semi-)automatic password rotation. Login with a certificate requires manual login and you need to enable it for a at least one type of users first.
Cloud Management Service seems to be much better in that regard with service bindings supporting even mTLS. But you miss out on all the Terraform stuff.

@lechnerc77
Copy link
Member Author

@se-wo You named the two patterns that we saw at customers:

  • Dedicated user in standard IdP
  • Dedicated user in custom idP

You are right with the challenges that come along with these approaches.

Comparing the Cloud Management Service (service on subaccount level) with the Terraform provider (and the underlying BTP CLI server) is imho comparing apples with oranges, but I get your point.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
btpcli Dependency to BTP CLI backend development enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants