Project

miasma-aws

0.04
No commit activity in last 3 years
No release in over 3 years
Smoggy AWS API
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 0
>= 0
~> 10
~> 3.5
~> 0.3.0
>= 0
~> 1.23.0

Runtime

>= 0.3.5, < 0.5
 Project Readme

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 ID
  • aws_secret_access_key - User secret access key
  • aws_region - Region to connect

Profile related attributes

  • aws_profile_name - Use credentials/configuration from profile name
  • aws_credentials_file - Specify custom credentials file
  • aws_config_file - Specify custom configuration file

Instance related attributes

  • aws_iam_instance_profile - Extract and use instance IAM credentials

ECS task related attributes

  • aws_ecs_task_profile - Extract and use ECS task IAM credentials

Secure Token Service related:

  • aws_sts_token - Set STS token to use with current key ID and secret
  • aws_sts_role_arn - Assume role
  • aws_external_id - Provide an external ID when assuming role
  • aws_sts_role_session_name - Provide custom session name when assuming role
  • aws_sts_session_token - MFA related session token
  • aws_sts_session_token_code - Six digit code from MFA device
  • aws_sts_mfa_serial_number - Serial number or ARN of MFA device
  • aws_sts_duration - Specify duration of validity for token

S3 related attributes

  • aws_bucket_region - Override current aws_region for bucket

Other attributes

  • aws_host - Provide customized full endpoint (without http/https) for API requests
  • api_endpoint - Use custom endpoint when constructing (defaults to 'amazonaws.com')
  • euca_compat- Enable compatibility mode for eucalyptus. Allowed values:
    • path - Construct using services/SERVICE_NAME
    • dns - Construct using DNS subdomains (SERVICE_NAME.REGION.API_ENDPOINT by default)
  • euca_dns_map - Map services to custom DNS subdomains
  • ssl_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