Documentation ¶
Overview ¶
Package secrets defines the interface common to all secret managers.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AreCompatible ¶
AreCompatible returns true if the two Managers are of the same type and have the same state.
Types ¶
type Manager ¶
type Manager interface { // Type retruns a string that reflects the type of this provider. This is serialized along with the state of // the manager into the deployment such that we can re-construct the correct manager when deserializing a // deployment into a snapshot. Type() string // An opaque state, which can be JSON serialized and used later to reconstruct the provider when deserializing // the deployment into a snapshot. State() interface{} // Encrypter returns a `config.Encrypter` that can be used to encrypt values when serializing a snapshot into a // deployment, or an error if one can not be constructed. Encrypter() (config.Encrypter, error) // Decrypter returns a `config.Decrypter` that can be used to decrypt values when deserializing a snapshot from a // deployment, or an error if one can not be constructed. Decrypter() (config.Decrypter, error) }
Manager provides the interface for providing stack encryption.
Directories ¶
Path | Synopsis |
---|---|
Package b64 implements a base64 secrets manager for testing purposes.
|
Package b64 implements a base64 secrets manager for testing purposes. |
Package cloud implements support for a generic cloud secret manager.
|
Package cloud implements support for a generic cloud secret manager. |
Package passphrase implements support for a local passphrase secret manager.
|
Package passphrase implements support for a local passphrase secret manager. |
Package service implements support for the Pulumi Service secret manager.
|
Package service implements support for the Pulumi Service secret manager. |
Click to show internal directories.
Click to hide internal directories.