package
0.8.0
Repository: https://github.com/coveooss/credentials-sync.git
Documentation: pkg.go.dev

# Functions

NewAmazonWebServicesCredentials instantiates an AmazonWebServicesCredentials struct.
NewGithubAppCredentials instantiates a GithubAppCredentials struct.
NewMockCredentials creates a new mock instance.
NewMockSource creates a new mock instance.
NewMockSourceCollection creates a new mock instance.
NewSecretText instantiates a SecretTextCredentials struct.
NewSSHCredentials instantiates a SSHCredentials struct.
NewUsernamePassword instantiates a UsernamePasswordCredentials struct.
ParseCredentials transforms a list of maps into a list of Credentials The credentials type is determined by the `type` attribute.
ParseSingleCredentials transforms a map into a Credentials struct The credentials type is determined by the `type` attribute.

# Structs

AmazonWebServicesCredentials represents an access key id and a secret access key from AWS.
AWSS3Source represents s3 objects containing credentials.
AWSSecretsManagerSource represents AWS SecretsManager secrets containing credentials.
Base defines that fields that are common to all types of credentials.
GithubAppCredentials represents credentials composed of an App ID, private key, and owner.
LocalSource represents local files containing credentials.
MockCredentials is a mock of Credentials interface.
MockCredentialsMockRecorder is the mock recorder for MockCredentials.
MockSource is a mock of Source interface.
MockSourceCollection is a mock of SourceCollection interface.
MockSourceCollectionMockRecorder is the mock recorder for MockSourceCollection.
MockSourceMockRecorder is the mock recorder for MockSource.
SecretTextCredentials represents credentials composed of a single string value.
SourcesConfiguration contains all configured sources.
SSHCredentials represents credentials composed of a private key, username and passphrase.
UsernamePasswordCredentials represents credentials composed of a username and a password.

# Interfaces

Credentials defines the methods that can be called by all types of credentials.
Source represents a location to fetch credentials.
SourceCollection represents a collection of sources from which credentials can be fetched.