Miasma AWS
AWS API plugin for the miasma cloud library
Supported credential attributes:
Supported attributes used in the credentials section of API configurations:
Miasma.api(
:type => :storage,
:provider => :aws,
:credentials => {
...
}
)
Common general use attributes
aws_access_key_id- User access key IDaws_secret_access_key- User secret access keyaws_region- Region to connect
Profile related attributes
aws_profile_name- Use credentials/configuration from profile nameaws_credentials_file- Specify custom credentials fileaws_config_file- Specify custom configuration file
Instance related attributes
aws_iam_instance_profile- Extract and use instance IAM credentials
Secure Token Service related:
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 role
S3 related attributes
aws_bucket_region- Override currentaws_regionfor bucket
Other attributes
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_NAMEdns- Construct using DNS subdomains (SERVICE_NAME.REGION.API_ENDPOINTby default)
euca_dns_map- Map services to custom DNS subdomainsssl_enabled- Use SSL for API connections
Current support matrix
| 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 |
Info
- Repository: https://github.com/miasma-rb/miasma-aws