Documentation ¶
Index ¶
- Variables
- type AllowedEntities
- type CertificateFormat
- type CredentialAccessData
- type CredentialUsageObj
- type Credentials
- type CredentialsList
- type CredentialsResponseElement
- type CredentialsResponseElementType
- type CredentialsType
- type EntityType
- type ExternalVaultConfigType
- type MonitorType
- type Scope
- type UsageSummary
Constants ¶
This section is empty.
Variables ¶
View Source
var CertificateFormats = struct { Pem CertificateFormat Pkcs12 CertificateFormat Unknown CertificateFormat }{ "PEM", "PKCS12", "UNKNOWN", }
CertificateFormats offers the known enum values
View Source
var CredentialsResponseElementTypes = struct { Certificate CredentialsResponseElementType PublicCertificate CredentialsResponseElementType Token CredentialsResponseElementType Unknown CredentialsResponseElementType UsernamePassword CredentialsResponseElementType }{ CredentialsResponseElementType("CERTIFICATE"), CredentialsResponseElementType("PUBLIC_CERTIFICATE"), CredentialsResponseElementType("TOKEN"), CredentialsResponseElementType("UNKNOWN"), CredentialsResponseElementType("USERNAME_PASSWORD"), }
CredentialsResponseElementTypes offers the known enum values
View Source
var CredentialsTypes = struct { Certificate CredentialsType PublicCertificate CredentialsType Token CredentialsType UsernamePassword CredentialsType Unknown CredentialsType }{ "CERTIFICATE", "PUBLIC_CERTIFICATE", "TOKEN", "USERNAME_PASSWORD", "UNKNOWN", }
View Source
var EntityTypes = struct { User EntityType Application EntityType Unknown EntityType }{ "USER", "APPLICATION", "UNKNOWN", }
View Source
var ExternalVaultConfigTypes = struct { AzureCertificateModel ExternalVaultConfigType AzureClientSecretModel ExternalVaultConfigType HashcorpAppRoleModel ExternalVaultConfigType HashcorpCertificateModel ExternalVaultConfigType }{ ExternalVaultConfigType("AZURE_CERTIFICATE_MODEL"), ExternalVaultConfigType("AZURE_CLIENT_SECRET_MODEL"), ExternalVaultConfigType("HASHICORP_APPROLE_MODEL"), ExternalVaultConfigType("HASHICORP_CERTIFICATE_MODEL"), }
View Source
var MonitorTypes = struct { HTTPMonitor MonitorType BrowserMonitorl MonitorType }{ MonitorType("HTTP_MONITOR"), MonitorType("BROWSER_MONITOR"), }
Functions ¶
This section is empty.
Types ¶
type AllowedEntities ¶ added in v1.61.0
type AllowedEntities []*CredentialAccessData
func (AllowedEntities) MarshalHCL ¶ added in v1.61.0
func (me AllowedEntities) MarshalHCL(properties hcl.Properties) error
func (*AllowedEntities) Schema ¶ added in v1.61.0
func (me *AllowedEntities) Schema() map[string]*schema.Schema
func (*AllowedEntities) UnmarshalHCL ¶ added in v1.61.0
func (me *AllowedEntities) UnmarshalHCL(decoder hcl.Decoder) error
type CertificateFormat ¶
type CertificateFormat string
CertificateFormat The certificate format.
func (CertificateFormat) Ref ¶
func (me CertificateFormat) Ref() *CertificateFormat
type CredentialAccessData ¶ added in v1.61.0
type CredentialAccessData struct { Type EntityType `json:"type,omitempty"` // Type of entity. Possible values: `USER`, `APPLICATION`, `UNKNOWN` Id *string `json:"id,omitempty"` // ID of the entity }
func (*CredentialAccessData) MarshalHCL ¶ added in v1.61.0
func (me *CredentialAccessData) MarshalHCL(properties hcl.Properties) error
func (*CredentialAccessData) Schema ¶ added in v1.61.0
func (me *CredentialAccessData) Schema() map[string]*schema.Schema
func (*CredentialAccessData) UnmarshalHCL ¶ added in v1.61.0
func (me *CredentialAccessData) UnmarshalHCL(decoder hcl.Decoder) error
type CredentialUsageObj ¶
type CredentialUsageObj struct { MonitorType MonitorType `json:"type"` Count int32 `json:"count"` }
func (*CredentialUsageObj) MarshalHCL ¶
func (me *CredentialUsageObj) MarshalHCL(properties hcl.Properties) error
func (*CredentialUsageObj) Schema ¶
func (me *CredentialUsageObj) Schema() map[string]*schema.Schema
func (*CredentialUsageObj) UnmarshalHCL ¶
func (me *CredentialUsageObj) UnmarshalHCL(decoder hcl.Decoder) error
type Credentials ¶
type Credentials struct { Name string `json:"name"` // The name of the credentials set. Description *string `json:"description,omitempty"` // A short description of the credentials set.. OwnerAccessOnly bool `json:"ownerAccessOnly"` // The credentials set is available to every user (`false`) or to owner only (`true`). Scope Scope `json:"scope,omitempty"` // Deprecated(v279), please use `scopes` instead. The scope of the credentials set Scopes []Scope `json:"scopes,omitempty"` // The set of scopes of the credentials set. Type CredentialsType `json:"type"` // Defines the actual set of fields depending on the value. See one of the following objects: \n\n* `CERTIFICATE` -> CertificateCredentials \n* `PUBLIC_CERTIFICATE` -> PublicCertificateCredentials \n* `USERNAME_PASSWORD` -> UserPasswordCredentials \n* `TOKEN` -> TokenCredentials \n Token *string `json:"token,omitempty"` // Token in the string format. Password *string `json:"password,omitempty"` // The password of the credential (Base64 encoded). Username *string `json:"user,omitempty"` // The username of the credentials set. Certificate *string `json:"certificate,omitempty"` // The certificate in the string (Base64) format. CertificateFormat *CertificateFormat `json:"certificateFormat,omitempty"` // The certificate format. ExternalVault *externalvault.Config `json:"externalVault,omitempty"` // Configuration for external vault synchronization CredentialUsageSummary UsageSummary `json:"credentialUsageSummary,omitempty"` // The list contains summary data related to the use of credentials AllowContextlessRequests *bool `json:"allowContextlessRequests,omitempty"` // Allow ad-hoc functions to access the credential details (requires the APP_ENGINE scope). AllowedEntities AllowedEntities `json:"allowedEntities,omitempty"` // The set of entities allowed to use the credential. }
func (*Credentials) EnsurePredictableOrder ¶
func (me *Credentials) EnsurePredictableOrder()
func (*Credentials) FillDemoValues ¶
func (me *Credentials) FillDemoValues() []string
func (*Credentials) MarshalHCL ¶
func (me *Credentials) MarshalHCL(properties hcl.Properties) error
func (*Credentials) UnmarshalHCL ¶
func (me *Credentials) UnmarshalHCL(decoder hcl.Decoder) error
type CredentialsList ¶
type CredentialsList struct {
Credentials []CredentialsResponseElement `json:"credentials"` // A list of credentials sets for Synthetic monitors.
}
CredentialsList A list of credentials sets for Synthetic monitors.
func (CredentialsList) ToStubs ¶
func (me CredentialsList) ToStubs() api.Stubs
type CredentialsResponseElement ¶
type CredentialsResponseElement struct { Name string `json:"name"` // The name of the credentials set. ID *string `json:"id,omitempty"` // The ID of the credentials set. Description string `json:"description"` // A short description of the credentials set. Owner string `json:"owner"` // The owner of the credential. OwnerAccessOnly bool `json:"ownerAccessOnly"` // Flag indicating that this credential is visible only to the owner. Type CredentialsResponseElementType `json:"type"` // The type of the credentials set. Scope Scope `json:"scope,omitempty"` // The scope of the credentials set }
CredentialsResponseElement Metadata of the credentials set.
type CredentialsResponseElementType ¶
type CredentialsResponseElementType string
CredentialsResponseElementType The type of the credentials set.
type CredentialsType ¶
type CredentialsType string
type EntityType ¶ added in v1.61.0
type EntityType string
type ExternalVaultConfigType ¶
type ExternalVaultConfigType string
type MonitorType ¶
type MonitorType string
type UsageSummary ¶
type UsageSummary []*CredentialUsageObj
Source Files ¶
Click to show internal directories.
Click to hide internal directories.