Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Parameter ¶
type Parameter interface {
// contains filtered or unexported methods
}
Parameter is the interface for service parameters.
func WithCredentialsPath ¶
WithCredentialsPath sets the path for the Google service account file.
func WithLogLevel ¶
WithLogLevel sets the log level for the module.
func WithProject ¶
WithProject sets the default project ID for accessing Google secrets manager.
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
Service returns values from Google secrets manager. This service handles URLs with the scheme "gsm". A full URL is of the form "gsm://id@project/secret". ID can be supplied at creation time if preferred. project can also be supplied at creation time if preferred. If both are supplied URLs are of the form "gsm:///secret". Any provision of ID or of project will override the defaults. N.B. the project value is the project _ID_ not the project name.