Skip to content

Latest commit

 

History

History
28 lines (20 loc) · 609 Bytes

README.md

File metadata and controls

28 lines (20 loc) · 609 Bytes

awscr-ssm

A Crystal shard for AWS System Manager.

Installation

Add this to your application's shard.yml:

dependencies:
  awscr-ssm:
    github: y2k2mt/awscr-ssm

Supported crystal version

0.25+

QuickStart

require "aws-ssm"
# AWS credentials are automatically resolved from the environment variable 'AWS_ACCESS_KEY_ID' and 'AWS_SECRET_ACCESS_KEY'.
# You can also use SimpleCredentials manually.
# credential = Awscr::SimpleCredentials.new("AK...", "CUE...")
parameter = Awscr::SSM::Client.new("ap-northeast-1").get_parameter("/develop/redis/auth-token", true)