Closed alex-reiff closed 2 days ago
@haimsch could you help with this one please?
If you want to use IAM authorization for the IAM engine, you only need to configure the authorization using the IBM Cloud IAM provider. With an authorization in place, the IAM engine is essentially now configured, you no longer need to also use the SM provider to "configure the engine". Once the authorization is in place you don't need the API key anylonger. See internal IBM Slack for more about this.
Community Note
Description
When attempting to create an IAM credentials engine in secrets manager using s2s auth, both a s2s auth and an API key auth configuration are created.
api_key
field is still required and it does a validity check so I can't feed it a bad key to fail the API key configuration.Terraform CLI and Terraform IBM Provider Version
Affected Resource(s)
Expected Behavior
An IAM credentials engine should be created using service 2 service authorization (because
disabled
is true).Actual Behavior
BOTH a service 2 service configuration and an API key configuration are created.
Steps to Reproduce
Important Factoids
References
0000