Skip to content

y2k2mt/awscr-ssm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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)