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

auth/aws: Allow wildcard in bound_iam_principal_id #3213

Merged
merged 4 commits into from
Aug 30, 2017

Commits on Aug 19, 2017

  1. auth/aws: Allow wildcard in bound_iam_principal_id

    This allows specifying a trailing wildcard in the bound_iam_principal_id
    in a semantically similar way to AWS. If a user specifies a
    bound_iam_principal_arn with a trailing wildcard, then Vault will NOT
    resolve the unqiue ID (analogous to the way AWS handles wildcards) and
    instead will just store the ARN.
    
    At login time, if a wildcard is specified in the bound ARN, Vault will
    first resolve the full ARN of the authenticating principal because the
    path component of roles is not visible from the GetCallerIdentity
    response. A cache has been included to speed up performance of these
    lookups and should be append only. To prevent unbounded growth of the
    cache, old entries are cleaned up if not used within a period of time.
    
    Also, as the complexity of scenarios of when Vault might make AWS API
    calls increases, including a recommended IAM policy to give the Vault
    server that can be more simply referenced in the future.
    
    Fixes hashicorp#3179
    joelthompson committed Aug 19, 2017
    Configuration menu
    Copy the full SHA
    8ba27c9 View commit details
    Browse the repository at this point in the history

Commits on Aug 30, 2017

  1. Configuration menu
    Copy the full SHA
    f8175fe View commit details
    Browse the repository at this point in the history
  2. Switch to go-cache for userID mappings

    Responding to PR feedback
    joelthompson committed Aug 30, 2017
    Configuration menu
    Copy the full SHA
    41b9365 View commit details
    Browse the repository at this point in the history
  3. Fix typo

    jefferai committed Aug 30, 2017
    Configuration menu
    Copy the full SHA
    09972b1 View commit details
    Browse the repository at this point in the history