AWS API plugin for the miasma cloud library
Supported attributes used in the credentials section of API configurations:
Miasma.api(
:type => :storage,
:provider => :aws,
:credentials => {
...
}
)
aws_access_key_id
- User access key IDaws_secret_access_key
- User secret access keyaws_region
- Region to connect
aws_profile_name
- Use credentials/configuration from profile nameaws_credentials_file
- Specify custom credentials fileaws_config_file
- Specify custom configuration file
aws_iam_instance_profile
- Extract and use instance IAM credentials
aws_ecs_task_profile
- Extract and use ECS task IAM credentials
aws_sts_token
- Set STS token to use with current key ID and secretaws_sts_role_arn
- Assume roleaws_external_id
- Provide an external ID when assuming roleaws_sts_role_session_name
- Provide custom session name when assuming roleaws_sts_session_token
- MFA related session tokenaws_sts_session_token_code
- Six digit code from MFA deviceaws_sts_mfa_serial_number
- Serial number or ARN of MFA deviceaws_sts_duration
- Specify duration of validity for token
aws_bucket_region
- Override currentaws_region
for bucket
aws_host
- Provide customized full endpoint (without http/https) for API requestsapi_endpoint
- Use custom endpoint when constructing (defaults to 'amazonaws.com')euca_compat
- Enable compatibility mode for eucalyptus. Allowed values:path
- Construct usingservices/SERVICE_NAME
dns
- Construct using DNS subdomains (SERVICE_NAME.REGION.API_ENDPOINT
by default)
euca_dns_map
- Map services to custom DNS subdomainsssl_enabled
- Use SSL for API connections
Model | Create | Read | Update | Delete |
---|---|---|---|---|
AutoScale | X | X | ||
BlockStorage | ||||
Compute | X | X | X | |
DNS | ||||
LoadBalancer | X | X | X | X |
Network | ||||
Orchestration | X | X | X | X |
Queues | ||||
Storage | X | X | X | X |
- Repository: https://github.com/miasma-rb/miasma-aws