Skip to content

Instantly share code, notes, and snippets.

@blogumi
Created June 8, 2020 17:36
Show Gist options
  • Save blogumi/6d3ef91b008d4ff91714aefa5689a921 to your computer and use it in GitHub Desktop.
Save blogumi/6d3ef91b008d4ff91714aefa5689a921 to your computer and use it in GitHub Desktop.
auth_login {
path = "auth/aws/login/"
parameters = {
role = var.vault_role
iam_http_request_method = "POST"
iam_request_url = base64encode("https://sts.amazonaws.com/")
iam_request_body = base64encode("Action=GetCallerIdentity&Version=2011-06-15")
iam_request_headers = var.request_headers
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment