From 6cfccf234ac09025d586e691500d5ba0cc09973d Mon Sep 17 00:00:00 2001 From: Aaron Turner Date: Thu, 15 Jul 2021 20:35:30 -0700 Subject: [PATCH] update readme with links to various keystores - Change default keystore to `file` - Create CHANGELOG - Update README --- CHANGELOG.md | 7 +++++++ README.md | 10 +++++----- cmd/config.go | 1 - cmd/main.go | 2 +- 4 files changed, 13 insertions(+), 7 deletions(-) create mode 100644 CHANGELOG.md diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 00000000..f729a234 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,7 @@ +# AWS SSO CLI Changelog + +## [Unreleased] + +## [v1.0.0] + +Initial release diff --git a/README.md b/README.md index a99be0b4..45907439 100644 --- a/README.md +++ b/README.md @@ -116,13 +116,13 @@ JsonStore: SecureStore supports the following backends: - * `json` - Cleartext JSON (insecure and not recommended) - * `file` - Encrypted local file (OS agnostic and default) - * `keychain` - macOS/OSX Keychain + * `json` - Cleartext JSON file (insecure and not recommended) + * `file` - Encrypted local files (OS agnostic and default) + * `keychain` - macOS/OSX [Keychain](https://support.apple.com/guide/mac-help/use-keychains-to-store-passwords-mchlf375f392/mac) * `kwallet` - [KDE Wallet](https://utils.kde.org/projects/kwalletmanager/) * `pass` - [pass](https://www.passwordstore.org) - * `secret-service` - Freedesktop.org Secret Service - * `wincred` - Windows credential store + * `secret-service` - Freedesktop.org [Secret Service](https://specifications.freedesktop.org/secret-service/latest/re01.html) + * `wincred` - Windows [Credential Manager](https://support.microsoft.com/en-us/windows/accessing-credential-manager-1b5c916a-6a16-889f-8581-fc16e8165ac0) ## License diff --git a/cmd/config.go b/cmd/config.go index a0854fcd..a8e37eac 100644 --- a/cmd/config.go +++ b/cmd/config.go @@ -22,7 +22,6 @@ import ( "strconv" "strings" - // "github.com/99designs/keyring" log "github.com/sirupsen/logrus" ) diff --git a/cmd/main.go b/cmd/main.go index 57ea11b1..f3d84999 100644 --- a/cmd/main.go +++ b/cmd/main.go @@ -51,7 +51,7 @@ const ( JSON_STORE_FILE = CONFIG_DIR + "/store.json" ENV_SSO_FILE_PASSWORD = "AWS_SSO_FILE_PASSPHRASE" ENV_SSO_REGION = "AWS_SSO_DEFAULT_REGION" - DEFAULT_STORE = "json" // XXX: FIXME + DEFAULT_STORE = "file" ) type CLI struct {