Skip to content

IAM engine s2s auth policy missing User API key creator and Service ID creator roles #425

@ocofaigh

Description

@ocofaigh

If an account has service ID creation disabled in their account like below:

Image

And they are using the "IAM credential" engine to create service ID apikeys based off an access group, the Service ID creation will fail with:

Could not create IAM service ID. Verify that the IAM credentials secrets engine has the necessary permissions either by configuring the engine with a valid API key, or by creating an authorization with the IAM service. [secrets-manager.03051E]

To fix this, the s2s auth policy that is created by this module needs to be updated to have the User API key creator and Service ID creator roles on the "IAM Identity Service" service here ->

roles = ["Operator"]

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions