Skip to content

mhlabs/MhLabs.AwsCliSso

Repository files navigation

MhLabs.AwsCliSso

Simplify usage of Aws SSO in your local projects

Deprecated

There is official support to accomplish this in AWSSDK.Core Version >= 3.5.2.

Example usage

var service = new AwsCliSsoService(RegionEndpoint.EUWest1);
var startUrl = "https://your.awsapps.com/start";
var accountId = "123456789012";
var roleName = "ReadOnly";

var credentials = await service.GetCredentials(startUrl, accountId, roleName);
var client = new Amazon.DynamoDBv2.AmazonDynamoDBClient(credentials, RegionEndpoint.EUWest1);

var tables = await client.ListTablesAsync();

About

Simplify usage of Aws SSO in your local projects

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages