Crate aws_cred

source ·
Expand description

AWS Credentials Manipulation Library

This library provides a convenient way to load, modify, and save AWS credentials stored in the standard AWS credentials file format. With this library, you can easily manage profiles and their associated credentials without having to manually edit the credentials file.

Example Usage

let mut credentials = AWSCredentials::load().unwrap();
credentials
    .with_profile("default")
    .set_access_key_id("ACCESS_KEY")
    .set_secret_access_key("SECRET_KEY");
credentials.write().unwrap();

Structs

Enums