File: aws.py

package info (click to toggle)
python-hvac 2.3.0-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,800 kB
  • sloc: python: 29,360; makefile: 42; sh: 14
file content (8 lines) | stat: -rw-r--r-- 363 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
#!/usr/bin/env python
"""Constants related to the AWS auth method and/or secrets engine."""

DEFAULT_MOUNT_POINT = "aws"
ALLOWED_CREDS_ENDPOINTS = ["creds", "sts"]
ALLOWED_CREDS_TYPES = ["iam_user", "assumed_role", "federation_token"]
ALLOWED_IAM_ALIAS_TYPES = ["role_id", "unique_id", "full_arn"]
ALLOWED_EC2_ALIAS_TYPES = ["role_id", "instance_id", "image_id"]