GoodMem
ReferenceClient SDKsGoModels

SecretReference Model

SecretReference Model documentation for Go SDK

Properties

NameTypeDescriptionNotes
UristringURI identifying where the secret can be resolved (e.g., vault://, env://)
HintsPointer to map[string]stringOptional metadata to help resolvers decode the secret (e.g., {\"encoding\":\"base64\"})[optional]

Methods

NewSecretReference

func NewSecretReference(uri string, ) *SecretReference

NewSecretReference instantiates a new SecretReference object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

NewSecretReferenceWithDefaults

func NewSecretReferenceWithDefaults() *SecretReference

NewSecretReferenceWithDefaults instantiates a new SecretReference object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

GetUri

func (o *SecretReference) GetUri() string

GetUri returns the Uri field if non-nil, zero value otherwise.

GetUriOk

func (o *SecretReference) GetUriOk() (*string, bool)

GetUriOk returns a tuple with the Uri field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetUri

func (o *SecretReference) SetUri(v string)

SetUri sets Uri field to given value.

GetHints

func (o *SecretReference) GetHints() map[string]string

GetHints returns the Hints field if non-nil, zero value otherwise.

GetHintsOk

func (o *SecretReference) GetHintsOk() (*map[string]string, bool)

GetHintsOk returns a tuple with the Hints field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetHints

func (o *SecretReference) SetHints(v map[string]string)

SetHints sets Hints field to given value.

HasHints

func (o *SecretReference) HasHints() bool

HasHints returns a boolean if a field has been set.