package
0.18.0
Repository: https://github.com/hashicorp/boundary.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

NewCredentialStore creates a new in memory static CredentialStore assigned to projectId.
NewJsonCredential creates a new in memory static Credential containing a json secret that is assigned to storeId.
NewRepository creates a new Repository.
NewSshPrivateKeyCredential creates a new in memory static Credential containing a username and private key that is assigned to storeId.
NewUsernamePasswordCredential creates a new in memory static Credential containing a username and password that is assigned to storeId.
TestCredentialStore creates a static credential store in the provided DB with the provided project id and any values passed in through the Options vars.
TestCredentialStores creates count number of static credential stores in the provided DB with the provided project id.
TestJsonCredential creates a json credential in the provided DB with the provided scope and any values passed in.
TestJsonCredentials creates count number of json credentials in the provided DB with the provided scope id.
TestJsonObject returns a json object and it's marshalled format to be used for testing.
TestSshPrivateKeyCredential creates an ssh private key credential in the provided DB with the provided project and any values passed in through.
TestSshPrivateKeyCredentials creates count number of ssh private key credentials in the provided DB with the provided project id.
TestUsernamePasswordCredential creates a username password credential in the provided DB with the provided project id and any values passed in through.
TestUsernamePasswordCredentials creates count number of username password credentials in the provided DB with the provided project id.
WithDescription provides an optional description.
WithLimit provides an option to provide a limit.
WithName provides an optional name.
WithPrivateKeyPassphrase provides an optional SSH private key passphrase to use.
WithPublicId provides an optional public ID to use.

# Constants

These constants are the field names used in the static related field masks.
PublicId prefixes for the resources in the static package.
No description provided by the author
No description provided by the author

# Structs

A CredentialStore contains credentials.
A JsonCredential contains the credential with a json secret.
A Repository stores and retrieves the persistent types in the static package.
A SshPrivateKeyCredential contains the credential with a username and private key.
A UsernamePasswordCredential contains the credential with a username and password.

# Type aliases

Option - how Options are passed as arguments.