Uploaded image for project: 'Apache NiFi'
  1. Apache NiFi
  2. NIFI-8918

AWS Credentials Provider service doesn't support credential_process config option

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Extensions
    • Labels:
      None

      Description

      The current AWS Credential Provider uses a credential provider chain which excludes the Profile Process Credentials provider.

      Please add a provider which supports https://docs.aws.amazon.com/AWSJavaSDK/latest/javadoc/com/amazonaws/auth/profile/internal/ProfileProcessCredentialsProvider.html .

      The only key configuration parameter for this provider would be the AWS Config name.

      Alternatively, add the ProfileProcessCredentialsProvider to the chain for the default, so that in addition to looking in ~/.aws/credentials for hard-coded credentials by profile name, you are also [perhaps first] executing the process configured in the ~/.aws/config credential_process variable for the requested profile.

      See https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-sourcing-external.html for documentation of the use case for this profile credentials provider.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              peter.thomas Peter Thomas
            • Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: