Documentation
¶
Overview ¶
Package sdm implements an API client to strongDM restful API.
Copyright 2020 StrongDM Inc ¶
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Copyright 2020 StrongDM Inc ¶
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Index ¶
- Constants
- Variables
- func APIHostIsValid(v string) bool
- func ActivityEntityTypeIsValid(v string) bool
- func ActivityVerbIsValid(v string) bool
- func ApproverReferenceIsValid(v string) bool
- func AuthProviderIsValid(v string) bool
- func CaptureTypeIsValid(v string) bool
- func DeviceTrustProviderIsValid(v string) bool
- func LogLocalEncoderIsValid(v string) bool
- func LogLocalFormatIsValid(v string) bool
- func LogLocalStorageIsValid(v string) bool
- func LogRemoteEncoderIsValid(v string) bool
- func MFAProviderIsValid(v string) bool
- func NodeStateIsValid(v string) bool
- func OrgKindIsValid(v string) bool
- func PermissionIsValid(v string) bool
- func PermissionLevelIsValid(v string) bool
- func ProviderIsValid(v string) bool
- func QueryCategoryIsValid(v string) bool
- func ResourceIPAllocationModeIsValid(v string) bool
- func SCIMProviderIsValid(v string) bool
- func SSHKeyTypeIsValid(v string) bool
- type AKS
- func (m *AKS) GetBindInterface() string
- func (m *AKS) GetEgressFilter() string
- func (m *AKS) GetID() string
- func (m *AKS) GetName() string
- func (m *AKS) GetSecretStoreID() string
- func (m *AKS) GetTags() Tags
- func (m *AKS) SetBindInterface(v string)
- func (m *AKS) SetEgressFilter(v string)
- func (m *AKS) SetName(v string)
- func (m *AKS) SetSecretStoreID(v string)
- func (m *AKS) SetTags(v Tags)
- type AKSBasicAuth
- func (m *AKSBasicAuth) GetBindInterface() string
- func (m *AKSBasicAuth) GetEgressFilter() string
- func (m *AKSBasicAuth) GetID() string
- func (m *AKSBasicAuth) GetName() string
- func (m *AKSBasicAuth) GetSecretStoreID() string
- func (m *AKSBasicAuth) GetTags() Tags
- func (m *AKSBasicAuth) SetBindInterface(v string)
- func (m *AKSBasicAuth) SetEgressFilter(v string)
- func (m *AKSBasicAuth) SetName(v string)
- func (m *AKSBasicAuth) SetSecretStoreID(v string)
- func (m *AKSBasicAuth) SetTags(v Tags)
- type AKSServiceAccount
- func (m *AKSServiceAccount) GetBindInterface() string
- func (m *AKSServiceAccount) GetEgressFilter() string
- func (m *AKSServiceAccount) GetID() string
- func (m *AKSServiceAccount) GetName() string
- func (m *AKSServiceAccount) GetSecretStoreID() string
- func (m *AKSServiceAccount) GetTags() Tags
- func (m *AKSServiceAccount) SetBindInterface(v string)
- func (m *AKSServiceAccount) SetEgressFilter(v string)
- func (m *AKSServiceAccount) SetName(v string)
- func (m *AKSServiceAccount) SetSecretStoreID(v string)
- func (m *AKSServiceAccount) SetTags(v Tags)
- type AKSServiceAccountUserImpersonationdeprecated
- func (m *AKSServiceAccountUserImpersonation) GetBindInterface() string
- func (m *AKSServiceAccountUserImpersonation) GetEgressFilter() string
- func (m *AKSServiceAccountUserImpersonation) GetID() string
- func (m *AKSServiceAccountUserImpersonation) GetName() string
- func (m *AKSServiceAccountUserImpersonation) GetSecretStoreID() string
- func (m *AKSServiceAccountUserImpersonation) GetTags() Tags
- func (m *AKSServiceAccountUserImpersonation) SetBindInterface(v string)
- func (m *AKSServiceAccountUserImpersonation) SetEgressFilter(v string)
- func (m *AKSServiceAccountUserImpersonation) SetName(v string)
- func (m *AKSServiceAccountUserImpersonation) SetSecretStoreID(v string)
- func (m *AKSServiceAccountUserImpersonation) SetTags(v Tags)
- type AKSUserImpersonationdeprecated
- func (m *AKSUserImpersonation) GetBindInterface() string
- func (m *AKSUserImpersonation) GetEgressFilter() string
- func (m *AKSUserImpersonation) GetID() string
- func (m *AKSUserImpersonation) GetName() string
- func (m *AKSUserImpersonation) GetSecretStoreID() string
- func (m *AKSUserImpersonation) GetTags() Tags
- func (m *AKSUserImpersonation) SetBindInterface(v string)
- func (m *AKSUserImpersonation) SetEgressFilter(v string)
- func (m *AKSUserImpersonation) SetName(v string)
- func (m *AKSUserImpersonation) SetSecretStoreID(v string)
- func (m *AKSUserImpersonation) SetTags(v Tags)
- type AMQP
- func (m *AMQP) GetBindInterface() string
- func (m *AMQP) GetEgressFilter() string
- func (m *AMQP) GetID() string
- func (m *AMQP) GetName() string
- func (m *AMQP) GetSecretStoreID() string
- func (m *AMQP) GetTags() Tags
- func (m *AMQP) SetBindInterface(v string)
- func (m *AMQP) SetEgressFilter(v string)
- func (m *AMQP) SetName(v string)
- func (m *AMQP) SetSecretStoreID(v string)
- func (m *AMQP) SetTags(v Tags)
- type AWS
- func (m *AWS) GetBindInterface() string
- func (m *AWS) GetEgressFilter() string
- func (m *AWS) GetID() string
- func (m *AWS) GetName() string
- func (m *AWS) GetSecretStoreID() string
- func (m *AWS) GetTags() Tags
- func (m *AWS) SetBindInterface(v string)
- func (m *AWS) SetEgressFilter(v string)
- func (m *AWS) SetName(v string)
- func (m *AWS) SetSecretStoreID(v string)
- func (m *AWS) SetTags(v Tags)
- type AWSCertX509Store
- type AWSConnector
- func (m *AWSConnector) GetDescription() string
- func (m *AWSConnector) GetExcludeTags() []*Tag
- func (m *AWSConnector) GetID() string
- func (m *AWSConnector) GetIncludeTags() []*Tag
- func (m *AWSConnector) GetName() string
- func (m *AWSConnector) GetScanPeriod() string
- func (m *AWSConnector) GetServices() []string
- func (m *AWSConnector) SetDescription(v string)
- func (m *AWSConnector) SetExcludeTags(v []*Tag)
- func (m *AWSConnector) SetIncludeTags(v []*Tag)
- func (m *AWSConnector) SetName(v string)
- func (m *AWSConnector) SetScanPeriod(v string)
- func (m *AWSConnector) SetServices(v []string)
- type AWSConsole
- func (m *AWSConsole) GetBindInterface() string
- func (m *AWSConsole) GetEgressFilter() string
- func (m *AWSConsole) GetID() string
- func (m *AWSConsole) GetName() string
- func (m *AWSConsole) GetSecretStoreID() string
- func (m *AWSConsole) GetTags() Tags
- func (m *AWSConsole) SetBindInterface(v string)
- func (m *AWSConsole) SetEgressFilter(v string)
- func (m *AWSConsole) SetName(v string)
- func (m *AWSConsole) SetSecretStoreID(v string)
- func (m *AWSConsole) SetTags(v Tags)
- type AWSConsoleStaticKeyPair
- func (m *AWSConsoleStaticKeyPair) GetBindInterface() string
- func (m *AWSConsoleStaticKeyPair) GetEgressFilter() string
- func (m *AWSConsoleStaticKeyPair) GetID() string
- func (m *AWSConsoleStaticKeyPair) GetName() string
- func (m *AWSConsoleStaticKeyPair) GetSecretStoreID() string
- func (m *AWSConsoleStaticKeyPair) GetTags() Tags
- func (m *AWSConsoleStaticKeyPair) SetBindInterface(v string)
- func (m *AWSConsoleStaticKeyPair) SetEgressFilter(v string)
- func (m *AWSConsoleStaticKeyPair) SetName(v string)
- func (m *AWSConsoleStaticKeyPair) SetSecretStoreID(v string)
- func (m *AWSConsoleStaticKeyPair) SetTags(v Tags)
- type AWSInstanceProfile
- func (m *AWSInstanceProfile) GetBindInterface() string
- func (m *AWSInstanceProfile) GetEgressFilter() string
- func (m *AWSInstanceProfile) GetID() string
- func (m *AWSInstanceProfile) GetName() string
- func (m *AWSInstanceProfile) GetSecretStoreID() string
- func (m *AWSInstanceProfile) GetTags() Tags
- func (m *AWSInstanceProfile) SetBindInterface(v string)
- func (m *AWSInstanceProfile) SetEgressFilter(v string)
- func (m *AWSInstanceProfile) SetName(v string)
- func (m *AWSInstanceProfile) SetSecretStoreID(v string)
- func (m *AWSInstanceProfile) SetTags(v Tags)
- type AWSStore
- type AccessRequest
- type AccessRequestConfig
- type AccessRequestEvent
- type AccessRequestEventHistory
- type AccessRequestEventHistoryIterator
- type AccessRequestEventsHistory
- type AccessRequestHistory
- type AccessRequestHistoryIterator
- type AccessRequestIterator
- type AccessRequestListRequest
- type AccessRequestListResponse
- type AccessRequests
- type AccessRequestsHistory
- type AccessRule
- type AccessRules
- type Account
- type AccountAttachment
- type AccountAttachmentCreateResponse
- type AccountAttachmentDeleteResponse
- type AccountAttachmentGetResponse
- type AccountAttachmentHistory
- type AccountAttachmentHistoryIterator
- type AccountAttachmentIterator
- type AccountAttachments
- func (svc *AccountAttachments) Create(ctx context.Context, accountAttachment *AccountAttachment) (*AccountAttachmentCreateResponse, error)
- func (svc *AccountAttachments) Delete(ctx context.Context, id string) (*AccountAttachmentDeleteResponse, error)
- func (svc *AccountAttachments) Get(ctx context.Context, id string) (*AccountAttachmentGetResponse, error)
- func (svc *AccountAttachments) List(ctx context.Context, filter string, args ...interface{}) (AccountAttachmentIterator, error)
- type AccountAttachmentsHistory
- type AccountCreateResponse
- type AccountDeleteResponse
- type AccountGetResponse
- type AccountGrant
- type AccountGrantCreateResponse
- type AccountGrantDeleteResponse
- type AccountGrantGetResponse
- type AccountGrantHistory
- type AccountGrantHistoryIterator
- type AccountGrantIterator
- type AccountGrants
- func (svc *AccountGrants) Create(ctx context.Context, accountGrant *AccountGrant) (*AccountGrantCreateResponse, error)
- func (svc *AccountGrants) Delete(ctx context.Context, id string) (*AccountGrantDeleteResponse, error)
- func (svc *AccountGrants) Get(ctx context.Context, id string) (*AccountGrantGetResponse, error)
- func (svc *AccountGrants) List(ctx context.Context, filter string, args ...interface{}) (AccountGrantIterator, error)
- type AccountGrantsHistory
- type AccountGroup
- type AccountGroupCreateRequest
- type AccountGroupCreateResponse
- type AccountGroupDeleteRequest
- type AccountGroupDeleteResponse
- type AccountGroupGetRequest
- type AccountGroupGetResponse
- type AccountGroupHistory
- type AccountGroupHistoryIterator
- type AccountGroupIterator
- type AccountGroupListRequest
- type AccountGroupListResponse
- type AccountHistory
- type AccountHistoryIterator
- type AccountIterator
- type AccountPermission
- type AccountPermissionIterator
- type AccountPermissions
- type AccountResource
- type AccountResourceHistory
- type AccountResourceHistoryIterator
- type AccountResourceIterator
- type AccountResources
- type AccountResourcesHistory
- type AccountUpdateResponse
- type Accounts
- func (svc *Accounts) Create(ctx context.Context, account Account) (*AccountCreateResponse, error)
- func (svc *Accounts) Delete(ctx context.Context, id string) (*AccountDeleteResponse, error)
- func (svc *Accounts) Get(ctx context.Context, id string) (*AccountGetResponse, error)
- func (svc *Accounts) List(ctx context.Context, filter string, args ...interface{}) (AccountIterator, error)
- func (svc *Accounts) Update(ctx context.Context, account Account) (*AccountUpdateResponse, error)
- type AccountsGroups
- func (svc *AccountsGroups) Create(ctx context.Context, accountGroup *AccountGroup) (*AccountGroupCreateResponse, error)
- func (svc *AccountsGroups) Delete(ctx context.Context, id string) (*AccountGroupDeleteResponse, error)
- func (svc *AccountsGroups) Get(ctx context.Context, id string) (*AccountGroupGetResponse, error)
- func (svc *AccountsGroups) List(ctx context.Context, filter string, args ...interface{}) (AccountGroupIterator, error)
- type AccountsGroupsHistory
- type AccountsHistory
- type ActiveDirectoryEngine
- func (m *ActiveDirectoryEngine) GetID() string
- func (m *ActiveDirectoryEngine) GetKeyRotationIntervalDays() int32
- func (m *ActiveDirectoryEngine) GetName() string
- func (m *ActiveDirectoryEngine) GetNodeSelector() string
- func (m *ActiveDirectoryEngine) GetPublicKey() []byte
- func (m *ActiveDirectoryEngine) GetSecretStoreID() string
- func (m *ActiveDirectoryEngine) GetSecretStoreRootPath() string
- func (m *ActiveDirectoryEngine) GetTags() Tags
- func (m *ActiveDirectoryEngine) SetKeyRotationIntervalDays(v int32)
- func (m *ActiveDirectoryEngine) SetName(v string)
- func (m *ActiveDirectoryEngine) SetNodeSelector(v string)
- func (m *ActiveDirectoryEngine) SetPublicKey(v []byte)
- func (m *ActiveDirectoryEngine) SetSecretStoreID(v string)
- func (m *ActiveDirectoryEngine) SetSecretStoreRootPath(v string)
- func (m *ActiveDirectoryEngine) SetTags(v Tags)
- type ActiveDirectoryStore
- type Activities
- type Activity
- type ActivityActor
- type ActivityEntity
- type ActivityGetResponse
- type ActivityIterator
- type Aerospike
- func (m *Aerospike) GetBindInterface() string
- func (m *Aerospike) GetEgressFilter() string
- func (m *Aerospike) GetID() string
- func (m *Aerospike) GetName() string
- func (m *Aerospike) GetSecretStoreID() string
- func (m *Aerospike) GetTags() Tags
- func (m *Aerospike) SetBindInterface(v string)
- func (m *Aerospike) SetEgressFilter(v string)
- func (m *Aerospike) SetName(v string)
- func (m *Aerospike) SetSecretStoreID(v string)
- func (m *Aerospike) SetTags(v Tags)
- type AlreadyExistsError
- type AmazonEKS
- func (m *AmazonEKS) GetBindInterface() string
- func (m *AmazonEKS) GetEgressFilter() string
- func (m *AmazonEKS) GetID() string
- func (m *AmazonEKS) GetName() string
- func (m *AmazonEKS) GetSecretStoreID() string
- func (m *AmazonEKS) GetTags() Tags
- func (m *AmazonEKS) SetBindInterface(v string)
- func (m *AmazonEKS) SetEgressFilter(v string)
- func (m *AmazonEKS) SetName(v string)
- func (m *AmazonEKS) SetSecretStoreID(v string)
- func (m *AmazonEKS) SetTags(v Tags)
- type AmazonEKSInstanceProfile
- func (m *AmazonEKSInstanceProfile) GetBindInterface() string
- func (m *AmazonEKSInstanceProfile) GetEgressFilter() string
- func (m *AmazonEKSInstanceProfile) GetID() string
- func (m *AmazonEKSInstanceProfile) GetName() string
- func (m *AmazonEKSInstanceProfile) GetSecretStoreID() string
- func (m *AmazonEKSInstanceProfile) GetTags() Tags
- func (m *AmazonEKSInstanceProfile) SetBindInterface(v string)
- func (m *AmazonEKSInstanceProfile) SetEgressFilter(v string)
- func (m *AmazonEKSInstanceProfile) SetName(v string)
- func (m *AmazonEKSInstanceProfile) SetSecretStoreID(v string)
- func (m *AmazonEKSInstanceProfile) SetTags(v Tags)
- type AmazonEKSInstanceProfileUserImpersonationdeprecated
- func (m *AmazonEKSInstanceProfileUserImpersonation) GetBindInterface() string
- func (m *AmazonEKSInstanceProfileUserImpersonation) GetEgressFilter() string
- func (m *AmazonEKSInstanceProfileUserImpersonation) GetID() string
- func (m *AmazonEKSInstanceProfileUserImpersonation) GetName() string
- func (m *AmazonEKSInstanceProfileUserImpersonation) GetSecretStoreID() string
- func (m *AmazonEKSInstanceProfileUserImpersonation) GetTags() Tags
- func (m *AmazonEKSInstanceProfileUserImpersonation) SetBindInterface(v string)
- func (m *AmazonEKSInstanceProfileUserImpersonation) SetEgressFilter(v string)
- func (m *AmazonEKSInstanceProfileUserImpersonation) SetName(v string)
- func (m *AmazonEKSInstanceProfileUserImpersonation) SetSecretStoreID(v string)
- func (m *AmazonEKSInstanceProfileUserImpersonation) SetTags(v Tags)
- type AmazonEKSUserImpersonationdeprecated
- func (m *AmazonEKSUserImpersonation) GetBindInterface() string
- func (m *AmazonEKSUserImpersonation) GetEgressFilter() string
- func (m *AmazonEKSUserImpersonation) GetID() string
- func (m *AmazonEKSUserImpersonation) GetName() string
- func (m *AmazonEKSUserImpersonation) GetSecretStoreID() string
- func (m *AmazonEKSUserImpersonation) GetTags() Tags
- func (m *AmazonEKSUserImpersonation) SetBindInterface(v string)
- func (m *AmazonEKSUserImpersonation) SetEgressFilter(v string)
- func (m *AmazonEKSUserImpersonation) SetName(v string)
- func (m *AmazonEKSUserImpersonation) SetSecretStoreID(v string)
- func (m *AmazonEKSUserImpersonation) SetTags(v Tags)
- type AmazonES
- func (m *AmazonES) GetBindInterface() string
- func (m *AmazonES) GetEgressFilter() string
- func (m *AmazonES) GetID() string
- func (m *AmazonES) GetName() string
- func (m *AmazonES) GetSecretStoreID() string
- func (m *AmazonES) GetTags() Tags
- func (m *AmazonES) SetBindInterface(v string)
- func (m *AmazonES) SetEgressFilter(v string)
- func (m *AmazonES) SetName(v string)
- func (m *AmazonES) SetSecretStoreID(v string)
- func (m *AmazonES) SetTags(v Tags)
- type AmazonESIAM
- func (m *AmazonESIAM) GetBindInterface() string
- func (m *AmazonESIAM) GetEgressFilter() string
- func (m *AmazonESIAM) GetID() string
- func (m *AmazonESIAM) GetName() string
- func (m *AmazonESIAM) GetSecretStoreID() string
- func (m *AmazonESIAM) GetTags() Tags
- func (m *AmazonESIAM) SetBindInterface(v string)
- func (m *AmazonESIAM) SetEgressFilter(v string)
- func (m *AmazonESIAM) SetName(v string)
- func (m *AmazonESIAM) SetSecretStoreID(v string)
- func (m *AmazonESIAM) SetTags(v Tags)
- type AmazonMQAMQP091
- func (m *AmazonMQAMQP091) GetBindInterface() string
- func (m *AmazonMQAMQP091) GetEgressFilter() string
- func (m *AmazonMQAMQP091) GetID() string
- func (m *AmazonMQAMQP091) GetName() string
- func (m *AmazonMQAMQP091) GetSecretStoreID() string
- func (m *AmazonMQAMQP091) GetTags() Tags
- func (m *AmazonMQAMQP091) SetBindInterface(v string)
- func (m *AmazonMQAMQP091) SetEgressFilter(v string)
- func (m *AmazonMQAMQP091) SetName(v string)
- func (m *AmazonMQAMQP091) SetSecretStoreID(v string)
- func (m *AmazonMQAMQP091) SetTags(v Tags)
- type ApprovalFlowApprover
- type ApprovalFlowStep
- type ApprovalWorkflow
- type ApprovalWorkflowApprover
- type ApprovalWorkflowApproverCreateResponse
- type ApprovalWorkflowApproverDeleteResponse
- type ApprovalWorkflowApproverGetResponse
- type ApprovalWorkflowApproverHistory
- type ApprovalWorkflowApproverHistoryIterator
- type ApprovalWorkflowApproverIterator
- type ApprovalWorkflowApproverListResponse
- type ApprovalWorkflowApprovers
- func (svc *ApprovalWorkflowApprovers) Create(ctx context.Context, approvalWorkflowApprover *ApprovalWorkflowApprover) (*ApprovalWorkflowApproverCreateResponse, error)deprecated
- func (svc *ApprovalWorkflowApprovers) Delete(ctx context.Context, id string) (*ApprovalWorkflowApproverDeleteResponse, error)deprecated
- func (svc *ApprovalWorkflowApprovers) Get(ctx context.Context, id string) (*ApprovalWorkflowApproverGetResponse, error)deprecated
- func (svc *ApprovalWorkflowApprovers) List(ctx context.Context, filter string, args ...interface{}) (ApprovalWorkflowApproverIterator, error)deprecated
- type ApprovalWorkflowApproversHistory
- type ApprovalWorkflowCreateResponse
- type ApprovalWorkflowDeleteResponse
- type ApprovalWorkflowGetResponse
- type ApprovalWorkflowHistory
- type ApprovalWorkflowHistoryIterator
- type ApprovalWorkflowIterator
- type ApprovalWorkflowListResponse
- type ApprovalWorkflowStep
- type ApprovalWorkflowStepCreateResponse
- type ApprovalWorkflowStepDeleteResponse
- type ApprovalWorkflowStepGetResponse
- type ApprovalWorkflowStepHistory
- type ApprovalWorkflowStepHistoryIterator
- type ApprovalWorkflowStepIterator
- type ApprovalWorkflowStepListResponse
- type ApprovalWorkflowSteps
- func (svc *ApprovalWorkflowSteps) Create(ctx context.Context, approvalWorkflowStep *ApprovalWorkflowStep) (*ApprovalWorkflowStepCreateResponse, error)deprecated
- func (svc *ApprovalWorkflowSteps) Delete(ctx context.Context, id string) (*ApprovalWorkflowStepDeleteResponse, error)deprecated
- func (svc *ApprovalWorkflowSteps) Get(ctx context.Context, id string) (*ApprovalWorkflowStepGetResponse, error)deprecated
- func (svc *ApprovalWorkflowSteps) List(ctx context.Context, filter string, args ...interface{}) (ApprovalWorkflowStepIterator, error)deprecated
- type ApprovalWorkflowStepsHistory
- type ApprovalWorkflowUpdateResponse
- type ApprovalWorkflows
- func (svc *ApprovalWorkflows) Create(ctx context.Context, approvalWorkflow *ApprovalWorkflow) (*ApprovalWorkflowCreateResponse, error)
- func (svc *ApprovalWorkflows) Delete(ctx context.Context, id string) (*ApprovalWorkflowDeleteResponse, error)
- func (svc *ApprovalWorkflows) Get(ctx context.Context, id string) (*ApprovalWorkflowGetResponse, error)
- func (svc *ApprovalWorkflows) List(ctx context.Context, filter string, args ...interface{}) (ApprovalWorkflowIterator, error)
- func (svc *ApprovalWorkflows) Update(ctx context.Context, approvalWorkflow *ApprovalWorkflow) (*ApprovalWorkflowUpdateResponse, error)
- type ApprovalWorkflowsHistory
- type Athena
- func (m *Athena) GetBindInterface() string
- func (m *Athena) GetEgressFilter() string
- func (m *Athena) GetID() string
- func (m *Athena) GetName() string
- func (m *Athena) GetSecretStoreID() string
- func (m *Athena) GetTags() Tags
- func (m *Athena) SetBindInterface(v string)
- func (m *Athena) SetEgressFilter(v string)
- func (m *Athena) SetName(v string)
- func (m *Athena) SetSecretStoreID(v string)
- func (m *Athena) SetTags(v Tags)
- type AthenaIAM
- func (m *AthenaIAM) GetBindInterface() string
- func (m *AthenaIAM) GetEgressFilter() string
- func (m *AthenaIAM) GetID() string
- func (m *AthenaIAM) GetName() string
- func (m *AthenaIAM) GetSecretStoreID() string
- func (m *AthenaIAM) GetTags() Tags
- func (m *AthenaIAM) SetBindInterface(v string)
- func (m *AthenaIAM) SetEgressFilter(v string)
- func (m *AthenaIAM) SetName(v string)
- func (m *AthenaIAM) SetSecretStoreID(v string)
- func (m *AthenaIAM) SetTags(v Tags)
- type AuroraMysql
- func (m *AuroraMysql) GetBindInterface() string
- func (m *AuroraMysql) GetEgressFilter() string
- func (m *AuroraMysql) GetID() string
- func (m *AuroraMysql) GetName() string
- func (m *AuroraMysql) GetSecretStoreID() string
- func (m *AuroraMysql) GetTags() Tags
- func (m *AuroraMysql) SetBindInterface(v string)
- func (m *AuroraMysql) SetEgressFilter(v string)
- func (m *AuroraMysql) SetName(v string)
- func (m *AuroraMysql) SetSecretStoreID(v string)
- func (m *AuroraMysql) SetTags(v Tags)
- type AuroraMysqlIAM
- func (m *AuroraMysqlIAM) GetBindInterface() string
- func (m *AuroraMysqlIAM) GetEgressFilter() string
- func (m *AuroraMysqlIAM) GetID() string
- func (m *AuroraMysqlIAM) GetName() string
- func (m *AuroraMysqlIAM) GetSecretStoreID() string
- func (m *AuroraMysqlIAM) GetTags() Tags
- func (m *AuroraMysqlIAM) SetBindInterface(v string)
- func (m *AuroraMysqlIAM) SetEgressFilter(v string)
- func (m *AuroraMysqlIAM) SetName(v string)
- func (m *AuroraMysqlIAM) SetSecretStoreID(v string)
- func (m *AuroraMysqlIAM) SetTags(v Tags)
- type AuroraPostgres
- func (m *AuroraPostgres) GetBindInterface() string
- func (m *AuroraPostgres) GetEgressFilter() string
- func (m *AuroraPostgres) GetID() string
- func (m *AuroraPostgres) GetName() string
- func (m *AuroraPostgres) GetSecretStoreID() string
- func (m *AuroraPostgres) GetTags() Tags
- func (m *AuroraPostgres) SetBindInterface(v string)
- func (m *AuroraPostgres) SetEgressFilter(v string)
- func (m *AuroraPostgres) SetName(v string)
- func (m *AuroraPostgres) SetSecretStoreID(v string)
- func (m *AuroraPostgres) SetTags(v Tags)
- type AuroraPostgresIAM
- func (m *AuroraPostgresIAM) GetBindInterface() string
- func (m *AuroraPostgresIAM) GetEgressFilter() string
- func (m *AuroraPostgresIAM) GetID() string
- func (m *AuroraPostgresIAM) GetName() string
- func (m *AuroraPostgresIAM) GetSecretStoreID() string
- func (m *AuroraPostgresIAM) GetTags() Tags
- func (m *AuroraPostgresIAM) SetBindInterface(v string)
- func (m *AuroraPostgresIAM) SetEgressFilter(v string)
- func (m *AuroraPostgresIAM) SetName(v string)
- func (m *AuroraPostgresIAM) SetSecretStoreID(v string)
- func (m *AuroraPostgresIAM) SetTags(v Tags)
- type AuthenticationError
- type Azure
- func (m *Azure) GetBindInterface() string
- func (m *Azure) GetEgressFilter() string
- func (m *Azure) GetID() string
- func (m *Azure) GetName() string
- func (m *Azure) GetSecretStoreID() string
- func (m *Azure) GetTags() Tags
- func (m *Azure) SetBindInterface(v string)
- func (m *Azure) SetEgressFilter(v string)
- func (m *Azure) SetName(v string)
- func (m *Azure) SetSecretStoreID(v string)
- func (m *Azure) SetTags(v Tags)
- type AzureCertificate
- func (m *AzureCertificate) GetBindInterface() string
- func (m *AzureCertificate) GetEgressFilter() string
- func (m *AzureCertificate) GetID() string
- func (m *AzureCertificate) GetName() string
- func (m *AzureCertificate) GetSecretStoreID() string
- func (m *AzureCertificate) GetTags() Tags
- func (m *AzureCertificate) SetBindInterface(v string)
- func (m *AzureCertificate) SetEgressFilter(v string)
- func (m *AzureCertificate) SetName(v string)
- func (m *AzureCertificate) SetSecretStoreID(v string)
- func (m *AzureCertificate) SetTags(v Tags)
- type AzureConnector
- func (m *AzureConnector) GetDescription() string
- func (m *AzureConnector) GetExcludeTags() []*Tag
- func (m *AzureConnector) GetID() string
- func (m *AzureConnector) GetIncludeTags() []*Tag
- func (m *AzureConnector) GetName() string
- func (m *AzureConnector) GetScanPeriod() string
- func (m *AzureConnector) GetServices() []string
- func (m *AzureConnector) SetDescription(v string)
- func (m *AzureConnector) SetExcludeTags(v []*Tag)
- func (m *AzureConnector) SetIncludeTags(v []*Tag)
- func (m *AzureConnector) SetName(v string)
- func (m *AzureConnector) SetScanPeriod(v string)
- func (m *AzureConnector) SetServices(v []string)
- type AzureMysql
- func (m *AzureMysql) GetBindInterface() string
- func (m *AzureMysql) GetEgressFilter() string
- func (m *AzureMysql) GetID() string
- func (m *AzureMysql) GetName() string
- func (m *AzureMysql) GetSecretStoreID() string
- func (m *AzureMysql) GetTags() Tags
- func (m *AzureMysql) SetBindInterface(v string)
- func (m *AzureMysql) SetEgressFilter(v string)
- func (m *AzureMysql) SetName(v string)
- func (m *AzureMysql) SetSecretStoreID(v string)
- func (m *AzureMysql) SetTags(v Tags)
- type AzureMysqlManagedIdentity
- func (m *AzureMysqlManagedIdentity) GetBindInterface() string
- func (m *AzureMysqlManagedIdentity) GetEgressFilter() string
- func (m *AzureMysqlManagedIdentity) GetID() string
- func (m *AzureMysqlManagedIdentity) GetName() string
- func (m *AzureMysqlManagedIdentity) GetSecretStoreID() string
- func (m *AzureMysqlManagedIdentity) GetTags() Tags
- func (m *AzureMysqlManagedIdentity) SetBindInterface(v string)
- func (m *AzureMysqlManagedIdentity) SetEgressFilter(v string)
- func (m *AzureMysqlManagedIdentity) SetName(v string)
- func (m *AzureMysqlManagedIdentity) SetSecretStoreID(v string)
- func (m *AzureMysqlManagedIdentity) SetTags(v Tags)
- type AzurePostgres
- func (m *AzurePostgres) GetBindInterface() string
- func (m *AzurePostgres) GetEgressFilter() string
- func (m *AzurePostgres) GetID() string
- func (m *AzurePostgres) GetName() string
- func (m *AzurePostgres) GetSecretStoreID() string
- func (m *AzurePostgres) GetTags() Tags
- func (m *AzurePostgres) SetBindInterface(v string)
- func (m *AzurePostgres) SetEgressFilter(v string)
- func (m *AzurePostgres) SetName(v string)
- func (m *AzurePostgres) SetSecretStoreID(v string)
- func (m *AzurePostgres) SetTags(v Tags)
- type AzurePostgresManagedIdentity
- func (m *AzurePostgresManagedIdentity) GetBindInterface() string
- func (m *AzurePostgresManagedIdentity) GetEgressFilter() string
- func (m *AzurePostgresManagedIdentity) GetID() string
- func (m *AzurePostgresManagedIdentity) GetName() string
- func (m *AzurePostgresManagedIdentity) GetSecretStoreID() string
- func (m *AzurePostgresManagedIdentity) GetTags() Tags
- func (m *AzurePostgresManagedIdentity) SetBindInterface(v string)
- func (m *AzurePostgresManagedIdentity) SetEgressFilter(v string)
- func (m *AzurePostgresManagedIdentity) SetName(v string)
- func (m *AzurePostgresManagedIdentity) SetSecretStoreID(v string)
- func (m *AzurePostgresManagedIdentity) SetTags(v Tags)
- type AzureStore
- type BadRequestError
- type BigQuery
- func (m *BigQuery) GetBindInterface() string
- func (m *BigQuery) GetEgressFilter() string
- func (m *BigQuery) GetID() string
- func (m *BigQuery) GetName() string
- func (m *BigQuery) GetSecretStoreID() string
- func (m *BigQuery) GetTags() Tags
- func (m *BigQuery) SetBindInterface(v string)
- func (m *BigQuery) SetEgressFilter(v string)
- func (m *BigQuery) SetName(v string)
- func (m *BigQuery) SetSecretStoreID(v string)
- func (m *BigQuery) SetTags(v Tags)
- type Cassandra
- func (m *Cassandra) GetBindInterface() string
- func (m *Cassandra) GetEgressFilter() string
- func (m *Cassandra) GetID() string
- func (m *Cassandra) GetName() string
- func (m *Cassandra) GetSecretStoreID() string
- func (m *Cassandra) GetTags() Tags
- func (m *Cassandra) SetBindInterface(v string)
- func (m *Cassandra) SetEgressFilter(v string)
- func (m *Cassandra) SetName(v string)
- func (m *Cassandra) SetSecretStoreID(v string)
- func (m *Cassandra) SetTags(v Tags)
- type Citus
- func (m *Citus) GetBindInterface() string
- func (m *Citus) GetEgressFilter() string
- func (m *Citus) GetID() string
- func (m *Citus) GetName() string
- func (m *Citus) GetSecretStoreID() string
- func (m *Citus) GetTags() Tags
- func (m *Citus) SetBindInterface(v string)
- func (m *Citus) SetEgressFilter(v string)
- func (m *Citus) SetName(v string)
- func (m *Citus) SetSecretStoreID(v string)
- func (m *Citus) SetTags(v Tags)
- type ClickHouseHTTP
- func (m *ClickHouseHTTP) GetBindInterface() string
- func (m *ClickHouseHTTP) GetEgressFilter() string
- func (m *ClickHouseHTTP) GetID() string
- func (m *ClickHouseHTTP) GetName() string
- func (m *ClickHouseHTTP) GetSecretStoreID() string
- func (m *ClickHouseHTTP) GetTags() Tags
- func (m *ClickHouseHTTP) SetBindInterface(v string)
- func (m *ClickHouseHTTP) SetEgressFilter(v string)
- func (m *ClickHouseHTTP) SetName(v string)
- func (m *ClickHouseHTTP) SetSecretStoreID(v string)
- func (m *ClickHouseHTTP) SetTags(v Tags)
- type ClickHouseMySQL
- func (m *ClickHouseMySQL) GetBindInterface() string
- func (m *ClickHouseMySQL) GetEgressFilter() string
- func (m *ClickHouseMySQL) GetID() string
- func (m *ClickHouseMySQL) GetName() string
- func (m *ClickHouseMySQL) GetSecretStoreID() string
- func (m *ClickHouseMySQL) GetTags() Tags
- func (m *ClickHouseMySQL) SetBindInterface(v string)
- func (m *ClickHouseMySQL) SetEgressFilter(v string)
- func (m *ClickHouseMySQL) SetName(v string)
- func (m *ClickHouseMySQL) SetSecretStoreID(v string)
- func (m *ClickHouseMySQL) SetTags(v Tags)
- type ClickHouseTCP
- func (m *ClickHouseTCP) GetBindInterface() string
- func (m *ClickHouseTCP) GetEgressFilter() string
- func (m *ClickHouseTCP) GetID() string
- func (m *ClickHouseTCP) GetName() string
- func (m *ClickHouseTCP) GetSecretStoreID() string
- func (m *ClickHouseTCP) GetTags() Tags
- func (m *ClickHouseTCP) SetBindInterface(v string)
- func (m *ClickHouseTCP) SetEgressFilter(v string)
- func (m *ClickHouseTCP) SetName(v string)
- func (m *ClickHouseTCP) SetSecretStoreID(v string)
- func (m *ClickHouseTCP) SetTags(v Tags)
- type Client
- func (c *Client) AccessRequestEventsHistory() *AccessRequestEventsHistory
- func (c *Client) AccessRequests() *AccessRequests
- func (c *Client) AccessRequestsHistory() *AccessRequestsHistory
- func (c *Client) AccountAttachments() *AccountAttachments
- func (c *Client) AccountAttachmentsHistory() *AccountAttachmentsHistory
- func (c *Client) AccountGrants() *AccountGrants
- func (c *Client) AccountGrantsHistory() *AccountGrantsHistory
- func (c *Client) AccountPermissions() *AccountPermissions
- func (c *Client) AccountResources() *AccountResources
- func (c *Client) AccountResourcesHistory() *AccountResourcesHistory
- func (c *Client) Accounts() *Accounts
- func (c *Client) AccountsGroups() *AccountsGroups
- func (c *Client) AccountsGroupsHistory() *AccountsGroupsHistory
- func (c *Client) AccountsHistory() *AccountsHistory
- func (c *Client) Activities() *Activities
- func (c *Client) ApprovalWorkflowApprovers() *ApprovalWorkflowApprovers
- func (c *Client) ApprovalWorkflowApproversHistory() *ApprovalWorkflowApproversHistory
- func (c *Client) ApprovalWorkflowSteps() *ApprovalWorkflowSteps
- func (c *Client) ApprovalWorkflowStepsHistory() *ApprovalWorkflowStepsHistory
- func (c *Client) ApprovalWorkflows() *ApprovalWorkflows
- func (c *Client) ApprovalWorkflowsHistory() *ApprovalWorkflowsHistory
- func (c *Client) Close() error
- func (c *Client) ControlPanel() *ControlPanel
- func (c *Client) DiscoveryConnectors() *DiscoveryConnectors
- func (c *Client) GrantedAccountEntitlements() *GrantedAccountEntitlements
- func (c *Client) GrantedResourceEntitlements() *GrantedResourceEntitlements
- func (c *Client) GrantedRoleEntitlements() *GrantedRoleEntitlements
- func (c *Client) Groups() *Groups
- func (c *Client) GroupsHistory() *GroupsHistory
- func (c *Client) GroupsRoles() *GroupsRoles
- func (c *Client) GroupsRolesHistory() *GroupsRolesHistory
- func (c *Client) HealthChecks() *HealthChecks
- func (c *Client) IdentityAliases() *IdentityAliases
- func (c *Client) IdentityAliasesHistory() *IdentityAliasesHistory
- func (c *Client) IdentitySets() *IdentitySets
- func (c *Client) IdentitySetsHistory() *IdentitySetsHistory
- func (c *Client) ManagedSecrets() *ManagedSecrets
- func (c *Client) Nodes() *Nodes
- func (c *Client) NodesHistory() *NodesHistory
- func (c *Client) OrganizationHistory() *OrganizationHistory
- func (c *Client) PeeringGroupNodes() *PeeringGroupNodes
- func (c *Client) PeeringGroupPeers() *PeeringGroupPeers
- func (c *Client) PeeringGroupResources() *PeeringGroupResources
- func (c *Client) PeeringGroups() *PeeringGroups
- func (c *Client) Policies() *Policies
- func (c *Client) PoliciesHistory() *PoliciesHistory
- func (c *Client) ProxyClusterKeys() *ProxyClusterKeys
- func (c *Client) Queries() *Queries
- func (c *Client) RemoteIdentities() *RemoteIdentities
- func (c *Client) RemoteIdentitiesHistory() *RemoteIdentitiesHistory
- func (c *Client) RemoteIdentityGroups() *RemoteIdentityGroups
- func (c *Client) RemoteIdentityGroupsHistory() *RemoteIdentityGroupsHistory
- func (c *Client) Replays() *Replays
- func (c *Client) RequestableAccountEntitlements() *RequestableAccountEntitlements
- func (c *Client) RequestableResourceEntitlements() *RequestableResourceEntitlements
- func (c *Client) RequestableRoleEntitlements() *RequestableRoleEntitlements
- func (c *Client) Resources() *Resources
- func (c *Client) ResourcesHistory() *ResourcesHistory
- func (c *Client) RoleResources() *RoleResources
- func (c *Client) RoleResourcesHistory() *RoleResourcesHistory
- func (c *Client) Roles() *Roles
- func (c *Client) RolesHistory() *RolesHistory
- func (c *Client) SecretEngines() *SecretEngines
- func (c *Client) SecretStoreHealths() *SecretStoreHealths
- func (c *Client) SecretStores() *SecretStores
- func (c *Client) SecretStoresHistory() *SecretStoresHistory
- func (c *Client) Sign(methodName string, message []byte) string
- func (c *Client) SnapshotAt(t time.Time) *SnapshotClient
- func (c *Client) WorkflowApprovers() *WorkflowApprovers
- func (c *Client) WorkflowApproversHistory() *WorkflowApproversHistory
- func (c *Client) WorkflowRoles() *WorkflowRoles
- func (c *Client) WorkflowRolesHistory() *WorkflowRolesHistory
- func (c *Client) Workflows() *Workflows
- func (c *Client) WorkflowsHistory() *WorkflowsHistory
- type ClientOption
- func WithEphemeralKey(key *rsa.PrivateKey) ClientOption
- func WithHost(host string) ClientOption
- func WithInsecure() ClientOption
- func WithPageLimit(limit int) ClientOption
- func WithRateLimitRetries(enabled bool) ClientOption
- func WithTLSConfig(cfg *tls.Config) ClientOption
- func WithUserAgentExtra(userAgentExtra string) ClientOption
- type Clustrix
- func (m *Clustrix) GetBindInterface() string
- func (m *Clustrix) GetEgressFilter() string
- func (m *Clustrix) GetID() string
- func (m *Clustrix) GetName() string
- func (m *Clustrix) GetSecretStoreID() string
- func (m *Clustrix) GetTags() Tags
- func (m *Clustrix) SetBindInterface(v string)
- func (m *Clustrix) SetEgressFilter(v string)
- func (m *Clustrix) SetName(v string)
- func (m *Clustrix) SetSecretStoreID(v string)
- func (m *Clustrix) SetTags(v Tags)
- type Cockroach
- func (m *Cockroach) GetBindInterface() string
- func (m *Cockroach) GetEgressFilter() string
- func (m *Cockroach) GetID() string
- func (m *Cockroach) GetName() string
- func (m *Cockroach) GetSecretStoreID() string
- func (m *Cockroach) GetTags() Tags
- func (m *Cockroach) SetBindInterface(v string)
- func (m *Cockroach) SetEgressFilter(v string)
- func (m *Cockroach) SetName(v string)
- func (m *Cockroach) SetSecretStoreID(v string)
- func (m *Cockroach) SetTags(v Tags)
- type Connector
- type ConnectorCreateRequest
- type ConnectorCreateResponse
- type ConnectorDeleteRequest
- type ConnectorDeleteResponse
- type ConnectorGetRequest
- type ConnectorGetResponse
- type ConnectorIterator
- type ConnectorListRequest
- type ConnectorListResponse
- type ConnectorUpdateRequest
- type ConnectorUpdateResponse
- type ContextCanceledError
- type ControlPanel
- func (svc *ControlPanel) GetOrgURLInfo(ctx context.Context) (*ControlPanelGetOrgURLInfoResponse, error)
- func (svc *ControlPanel) GetRDPCAPublicKey(ctx context.Context) (*ControlPanelGetRDPCAPublicKeyResponse, error)
- func (svc *ControlPanel) GetSSHCAPublicKey(ctx context.Context) (*ControlPanelGetSSHCAPublicKeyResponse, error)
- func (svc *ControlPanel) VerifyJWT(ctx context.Context, token string) (*ControlPanelVerifyJWTResponse, error)
- type ControlPanelGetOrgURLInfoResponse
- type ControlPanelGetRDPCAPublicKeyResponse
- type ControlPanelGetSSHCAPublicKeyResponse
- type ControlPanelVerifyJWTResponse
- type CouchbaseDatabase
- func (m *CouchbaseDatabase) GetBindInterface() string
- func (m *CouchbaseDatabase) GetEgressFilter() string
- func (m *CouchbaseDatabase) GetID() string
- func (m *CouchbaseDatabase) GetName() string
- func (m *CouchbaseDatabase) GetSecretStoreID() string
- func (m *CouchbaseDatabase) GetTags() Tags
- func (m *CouchbaseDatabase) SetBindInterface(v string)
- func (m *CouchbaseDatabase) SetEgressFilter(v string)
- func (m *CouchbaseDatabase) SetName(v string)
- func (m *CouchbaseDatabase) SetSecretStoreID(v string)
- func (m *CouchbaseDatabase) SetTags(v Tags)
- type CouchbaseWebUI
- func (m *CouchbaseWebUI) GetBindInterface() string
- func (m *CouchbaseWebUI) GetEgressFilter() string
- func (m *CouchbaseWebUI) GetID() string
- func (m *CouchbaseWebUI) GetName() string
- func (m *CouchbaseWebUI) GetSecretStoreID() string
- func (m *CouchbaseWebUI) GetTags() Tags
- func (m *CouchbaseWebUI) SetBindInterface(v string)
- func (m *CouchbaseWebUI) SetEgressFilter(v string)
- func (m *CouchbaseWebUI) SetName(v string)
- func (m *CouchbaseWebUI) SetSecretStoreID(v string)
- func (m *CouchbaseWebUI) SetTags(v Tags)
- type CreateResponseMetadata
- type CustomHeader
- type CustomHeaders
- type CyberarkConjurStore
- type CyberarkPAMExperimentalStore
- type CyberarkPAMStore
- type DB2I
- func (m *DB2I) GetBindInterface() string
- func (m *DB2I) GetEgressFilter() string
- func (m *DB2I) GetID() string
- func (m *DB2I) GetName() string
- func (m *DB2I) GetSecretStoreID() string
- func (m *DB2I) GetTags() Tags
- func (m *DB2I) SetBindInterface(v string)
- func (m *DB2I) SetEgressFilter(v string)
- func (m *DB2I) SetName(v string)
- func (m *DB2I) SetSecretStoreID(v string)
- func (m *DB2I) SetTags(v Tags)
- type DB2LUW
- func (m *DB2LUW) GetBindInterface() string
- func (m *DB2LUW) GetEgressFilter() string
- func (m *DB2LUW) GetID() string
- func (m *DB2LUW) GetName() string
- func (m *DB2LUW) GetSecretStoreID() string
- func (m *DB2LUW) GetTags() Tags
- func (m *DB2LUW) SetBindInterface(v string)
- func (m *DB2LUW) SetEgressFilter(v string)
- func (m *DB2LUW) SetName(v string)
- func (m *DB2LUW) SetSecretStoreID(v string)
- func (m *DB2LUW) SetTags(v Tags)
- type Databricks
- func (m *Databricks) GetBindInterface() string
- func (m *Databricks) GetEgressFilter() string
- func (m *Databricks) GetID() string
- func (m *Databricks) GetName() string
- func (m *Databricks) GetSecretStoreID() string
- func (m *Databricks) GetTags() Tags
- func (m *Databricks) SetBindInterface(v string)
- func (m *Databricks) SetEgressFilter(v string)
- func (m *Databricks) SetName(v string)
- func (m *Databricks) SetSecretStoreID(v string)
- func (m *Databricks) SetTags(v Tags)
- type DeadlineExceededError
- type DeleteResponseMetadata
- type DelineaStore
- type DiscoveryConnectors
- func (svc *DiscoveryConnectors) Create(ctx context.Context, connector Connector) (*ConnectorCreateResponse, error)
- func (svc *DiscoveryConnectors) Delete(ctx context.Context, id string) (*ConnectorDeleteResponse, error)
- func (svc *DiscoveryConnectors) Get(ctx context.Context, id string) (*ConnectorGetResponse, error)
- func (svc *DiscoveryConnectors) List(ctx context.Context, filter string, args ...interface{}) (ConnectorIterator, error)
- func (svc *DiscoveryConnectors) Update(ctx context.Context, connector Connector) (*ConnectorUpdateResponse, error)
- type DocumentDBHost
- func (m *DocumentDBHost) GetBindInterface() string
- func (m *DocumentDBHost) GetEgressFilter() string
- func (m *DocumentDBHost) GetID() string
- func (m *DocumentDBHost) GetName() string
- func (m *DocumentDBHost) GetSecretStoreID() string
- func (m *DocumentDBHost) GetTags() Tags
- func (m *DocumentDBHost) SetBindInterface(v string)
- func (m *DocumentDBHost) SetEgressFilter(v string)
- func (m *DocumentDBHost) SetName(v string)
- func (m *DocumentDBHost) SetSecretStoreID(v string)
- func (m *DocumentDBHost) SetTags(v Tags)
- type DocumentDBHostIAM
- func (m *DocumentDBHostIAM) GetBindInterface() string
- func (m *DocumentDBHostIAM) GetEgressFilter() string
- func (m *DocumentDBHostIAM) GetID() string
- func (m *DocumentDBHostIAM) GetName() string
- func (m *DocumentDBHostIAM) GetSecretStoreID() string
- func (m *DocumentDBHostIAM) GetTags() Tags
- func (m *DocumentDBHostIAM) SetBindInterface(v string)
- func (m *DocumentDBHostIAM) SetEgressFilter(v string)
- func (m *DocumentDBHostIAM) SetName(v string)
- func (m *DocumentDBHostIAM) SetSecretStoreID(v string)
- func (m *DocumentDBHostIAM) SetTags(v Tags)
- type DocumentDBReplicaSet
- func (m *DocumentDBReplicaSet) GetBindInterface() string
- func (m *DocumentDBReplicaSet) GetEgressFilter() string
- func (m *DocumentDBReplicaSet) GetID() string
- func (m *DocumentDBReplicaSet) GetName() string
- func (m *DocumentDBReplicaSet) GetSecretStoreID() string
- func (m *DocumentDBReplicaSet) GetTags() Tags
- func (m *DocumentDBReplicaSet) SetBindInterface(v string)
- func (m *DocumentDBReplicaSet) SetEgressFilter(v string)
- func (m *DocumentDBReplicaSet) SetName(v string)
- func (m *DocumentDBReplicaSet) SetSecretStoreID(v string)
- func (m *DocumentDBReplicaSet) SetTags(v Tags)
- type DocumentDBReplicaSetIAM
- func (m *DocumentDBReplicaSetIAM) GetBindInterface() string
- func (m *DocumentDBReplicaSetIAM) GetEgressFilter() string
- func (m *DocumentDBReplicaSetIAM) GetID() string
- func (m *DocumentDBReplicaSetIAM) GetName() string
- func (m *DocumentDBReplicaSetIAM) GetSecretStoreID() string
- func (m *DocumentDBReplicaSetIAM) GetTags() Tags
- func (m *DocumentDBReplicaSetIAM) SetBindInterface(v string)
- func (m *DocumentDBReplicaSetIAM) SetEgressFilter(v string)
- func (m *DocumentDBReplicaSetIAM) SetName(v string)
- func (m *DocumentDBReplicaSetIAM) SetSecretStoreID(v string)
- func (m *DocumentDBReplicaSetIAM) SetTags(v Tags)
- type Druid
- func (m *Druid) GetBindInterface() string
- func (m *Druid) GetEgressFilter() string
- func (m *Druid) GetID() string
- func (m *Druid) GetName() string
- func (m *Druid) GetSecretStoreID() string
- func (m *Druid) GetTags() Tags
- func (m *Druid) SetBindInterface(v string)
- func (m *Druid) SetEgressFilter(v string)
- func (m *Druid) SetName(v string)
- func (m *Druid) SetSecretStoreID(v string)
- func (m *Druid) SetTags(v Tags)
- type DynamoDB
- func (m *DynamoDB) GetBindInterface() string
- func (m *DynamoDB) GetEgressFilter() string
- func (m *DynamoDB) GetID() string
- func (m *DynamoDB) GetName() string
- func (m *DynamoDB) GetSecretStoreID() string
- func (m *DynamoDB) GetTags() Tags
- func (m *DynamoDB) SetBindInterface(v string)
- func (m *DynamoDB) SetEgressFilter(v string)
- func (m *DynamoDB) SetName(v string)
- func (m *DynamoDB) SetSecretStoreID(v string)
- func (m *DynamoDB) SetTags(v Tags)
- type DynamoDBIAM
- func (m *DynamoDBIAM) GetBindInterface() string
- func (m *DynamoDBIAM) GetEgressFilter() string
- func (m *DynamoDBIAM) GetID() string
- func (m *DynamoDBIAM) GetName() string
- func (m *DynamoDBIAM) GetSecretStoreID() string
- func (m *DynamoDBIAM) GetTags() Tags
- func (m *DynamoDBIAM) SetBindInterface(v string)
- func (m *DynamoDBIAM) SetEgressFilter(v string)
- func (m *DynamoDBIAM) SetName(v string)
- func (m *DynamoDBIAM) SetSecretStoreID(v string)
- func (m *DynamoDBIAM) SetTags(v Tags)
- type Elastic
- func (m *Elastic) GetBindInterface() string
- func (m *Elastic) GetEgressFilter() string
- func (m *Elastic) GetID() string
- func (m *Elastic) GetName() string
- func (m *Elastic) GetSecretStoreID() string
- func (m *Elastic) GetTags() Tags
- func (m *Elastic) SetBindInterface(v string)
- func (m *Elastic) SetEgressFilter(v string)
- func (m *Elastic) SetName(v string)
- func (m *Elastic) SetSecretStoreID(v string)
- func (m *Elastic) SetTags(v Tags)
- type ElasticacheRedis
- func (m *ElasticacheRedis) GetBindInterface() string
- func (m *ElasticacheRedis) GetEgressFilter() string
- func (m *ElasticacheRedis) GetID() string
- func (m *ElasticacheRedis) GetName() string
- func (m *ElasticacheRedis) GetSecretStoreID() string
- func (m *ElasticacheRedis) GetTags() Tags
- func (m *ElasticacheRedis) SetBindInterface(v string)
- func (m *ElasticacheRedis) SetEgressFilter(v string)
- func (m *ElasticacheRedis) SetName(v string)
- func (m *ElasticacheRedis) SetSecretStoreID(v string)
- func (m *ElasticacheRedis) SetTags(v Tags)
- type ElasticacheRedisIAM
- func (m *ElasticacheRedisIAM) GetBindInterface() string
- func (m *ElasticacheRedisIAM) GetEgressFilter() string
- func (m *ElasticacheRedisIAM) GetID() string
- func (m *ElasticacheRedisIAM) GetName() string
- func (m *ElasticacheRedisIAM) GetSecretStoreID() string
- func (m *ElasticacheRedisIAM) GetTags() Tags
- func (m *ElasticacheRedisIAM) SetBindInterface(v string)
- func (m *ElasticacheRedisIAM) SetEgressFilter(v string)
- func (m *ElasticacheRedisIAM) SetName(v string)
- func (m *ElasticacheRedisIAM) SetSecretStoreID(v string)
- func (m *ElasticacheRedisIAM) SetTags(v Tags)
- type EntraGroupsPrivileges
- type EntraID
- func (m *EntraID) GetBindInterface() string
- func (m *EntraID) GetEgressFilter() string
- func (m *EntraID) GetID() string
- func (m *EntraID) GetName() string
- func (m *EntraID) GetSecretStoreID() string
- func (m *EntraID) GetTags() Tags
- func (m *EntraID) SetBindInterface(v string)
- func (m *EntraID) SetEgressFilter(v string)
- func (m *EntraID) SetName(v string)
- func (m *EntraID) SetSecretStoreID(v string)
- func (m *EntraID) SetTags(v Tags)
- type Error
- type GCP
- func (m *GCP) GetBindInterface() string
- func (m *GCP) GetEgressFilter() string
- func (m *GCP) GetID() string
- func (m *GCP) GetName() string
- func (m *GCP) GetSecretStoreID() string
- func (m *GCP) GetTags() Tags
- func (m *GCP) SetBindInterface(v string)
- func (m *GCP) SetEgressFilter(v string)
- func (m *GCP) SetName(v string)
- func (m *GCP) SetSecretStoreID(v string)
- func (m *GCP) SetTags(v Tags)
- type GCPCertX509Store
- type GCPConnector
- func (m *GCPConnector) GetDescription() string
- func (m *GCPConnector) GetExcludeTags() []*Tag
- func (m *GCPConnector) GetID() string
- func (m *GCPConnector) GetIncludeTags() []*Tag
- func (m *GCPConnector) GetName() string
- func (m *GCPConnector) GetScanPeriod() string
- func (m *GCPConnector) GetServices() []string
- func (m *GCPConnector) SetDescription(v string)
- func (m *GCPConnector) SetExcludeTags(v []*Tag)
- func (m *GCPConnector) SetIncludeTags(v []*Tag)
- func (m *GCPConnector) SetName(v string)
- func (m *GCPConnector) SetScanPeriod(v string)
- func (m *GCPConnector) SetServices(v []string)
- type GCPConsole
- func (m *GCPConsole) GetBindInterface() string
- func (m *GCPConsole) GetEgressFilter() string
- func (m *GCPConsole) GetID() string
- func (m *GCPConsole) GetName() string
- func (m *GCPConsole) GetSecretStoreID() string
- func (m *GCPConsole) GetTags() Tags
- func (m *GCPConsole) SetBindInterface(v string)
- func (m *GCPConsole) SetEgressFilter(v string)
- func (m *GCPConsole) SetName(v string)
- func (m *GCPConsole) SetSecretStoreID(v string)
- func (m *GCPConsole) SetTags(v Tags)
- type GCPStore
- type GCPWIF
- func (m *GCPWIF) GetBindInterface() string
- func (m *GCPWIF) GetEgressFilter() string
- func (m *GCPWIF) GetID() string
- func (m *GCPWIF) GetName() string
- func (m *GCPWIF) GetSecretStoreID() string
- func (m *GCPWIF) GetTags() Tags
- func (m *GCPWIF) SetBindInterface(v string)
- func (m *GCPWIF) SetEgressFilter(v string)
- func (m *GCPWIF) SetName(v string)
- func (m *GCPWIF) SetSecretStoreID(v string)
- func (m *GCPWIF) SetTags(v Tags)
- type Gateway
- type GenerateKeysRequest
- type GenerateKeysResponse
- type GenericResponseMetadata
- type GetResponseMetadata
- type GoogleGKE
- func (m *GoogleGKE) GetBindInterface() string
- func (m *GoogleGKE) GetEgressFilter() string
- func (m *GoogleGKE) GetID() string
- func (m *GoogleGKE) GetName() string
- func (m *GoogleGKE) GetSecretStoreID() string
- func (m *GoogleGKE) GetTags() Tags
- func (m *GoogleGKE) SetBindInterface(v string)
- func (m *GoogleGKE) SetEgressFilter(v string)
- func (m *GoogleGKE) SetName(v string)
- func (m *GoogleGKE) SetSecretStoreID(v string)
- func (m *GoogleGKE) SetTags(v Tags)
- type GoogleGKEUserImpersonationdeprecated
- func (m *GoogleGKEUserImpersonation) GetBindInterface() string
- func (m *GoogleGKEUserImpersonation) GetEgressFilter() string
- func (m *GoogleGKEUserImpersonation) GetID() string
- func (m *GoogleGKEUserImpersonation) GetName() string
- func (m *GoogleGKEUserImpersonation) GetSecretStoreID() string
- func (m *GoogleGKEUserImpersonation) GetTags() Tags
- func (m *GoogleGKEUserImpersonation) SetBindInterface(v string)
- func (m *GoogleGKEUserImpersonation) SetEgressFilter(v string)
- func (m *GoogleGKEUserImpersonation) SetName(v string)
- func (m *GoogleGKEUserImpersonation) SetSecretStoreID(v string)
- func (m *GoogleGKEUserImpersonation) SetTags(v Tags)
- type GoogleSpanner
- func (m *GoogleSpanner) GetBindInterface() string
- func (m *GoogleSpanner) GetEgressFilter() string
- func (m *GoogleSpanner) GetID() string
- func (m *GoogleSpanner) GetName() string
- func (m *GoogleSpanner) GetSecretStoreID() string
- func (m *GoogleSpanner) GetTags() Tags
- func (m *GoogleSpanner) SetBindInterface(v string)
- func (m *GoogleSpanner) SetEgressFilter(v string)
- func (m *GoogleSpanner) SetName(v string)
- func (m *GoogleSpanner) SetSecretStoreID(v string)
- func (m *GoogleSpanner) SetTags(v Tags)
- type GrantedAccountEntitlement
- type GrantedAccountEntitlementIterator
- type GrantedAccountEntitlements
- type GrantedEntitlementKubernetesPrivileges
- type GrantedResourceEntitlement
- type GrantedResourceEntitlementIterator
- type GrantedResourceEntitlements
- type GrantedRoleEntitlement
- type GrantedRoleEntitlementIterator
- type GrantedRoleEntitlements
- type Greenplum
- func (m *Greenplum) GetBindInterface() string
- func (m *Greenplum) GetEgressFilter() string
- func (m *Greenplum) GetID() string
- func (m *Greenplum) GetName() string
- func (m *Greenplum) GetSecretStoreID() string
- func (m *Greenplum) GetTags() Tags
- func (m *Greenplum) SetBindInterface(v string)
- func (m *Greenplum) SetEgressFilter(v string)
- func (m *Greenplum) SetName(v string)
- func (m *Greenplum) SetSecretStoreID(v string)
- func (m *Greenplum) SetTags(v Tags)
- type Group
- type GroupCreateFromRolesRequest
- type GroupCreateFromRolesResponse
- type GroupCreateRequest
- type GroupCreateResponse
- type GroupDeleteRequest
- type GroupDeleteResponse
- type GroupFromRole
- type GroupGetRequest
- type GroupGetResponse
- type GroupHistory
- type GroupHistoryIterator
- type GroupIterator
- type GroupListRequest
- type GroupListResponse
- type GroupRole
- type GroupRoleCreateRequest
- type GroupRoleCreateResponse
- type GroupRoleDeleteRequest
- type GroupRoleDeleteResponse
- type GroupRoleGetRequest
- type GroupRoleGetResponse
- type GroupRoleHistory
- type GroupRoleHistoryIterator
- type GroupRoleIterator
- type GroupRoleListRequest
- type GroupRoleListResponse
- type GroupUpdateRequest
- type GroupUpdateResponse
- type Groups
- func (svc *Groups) Create(ctx context.Context, group *Group) (*GroupCreateResponse, error)
- func (svc *Groups) CreateFromRoles(ctx context.Context, commit bool, roleIds ...string) (*GroupCreateFromRolesResponse, error)
- func (svc *Groups) Delete(ctx context.Context, id string) (*GroupDeleteResponse, error)
- func (svc *Groups) Get(ctx context.Context, id string) (*GroupGetResponse, error)
- func (svc *Groups) List(ctx context.Context, filter string, args ...interface{}) (GroupIterator, error)
- func (svc *Groups) Update(ctx context.Context, group *Group) (*GroupUpdateResponse, error)
- type GroupsHistory
- type GroupsRoles
- func (svc *GroupsRoles) Create(ctx context.Context, groupRole *GroupRole) (*GroupRoleCreateResponse, error)
- func (svc *GroupsRoles) Delete(ctx context.Context, id string) (*GroupRoleDeleteResponse, error)
- func (svc *GroupsRoles) Get(ctx context.Context, id string) (*GroupRoleGetResponse, error)
- func (svc *GroupsRoles) List(ctx context.Context, filter string, args ...interface{}) (GroupRoleIterator, error)
- type GroupsRolesHistory
- type HTTPAuth
- func (m *HTTPAuth) GetBindInterface() string
- func (m *HTTPAuth) GetEgressFilter() string
- func (m *HTTPAuth) GetID() string
- func (m *HTTPAuth) GetName() string
- func (m *HTTPAuth) GetSecretStoreID() string
- func (m *HTTPAuth) GetTags() Tags
- func (m *HTTPAuth) SetBindInterface(v string)
- func (m *HTTPAuth) SetEgressFilter(v string)
- func (m *HTTPAuth) SetName(v string)
- func (m *HTTPAuth) SetSecretStoreID(v string)
- func (m *HTTPAuth) SetTags(v Tags)
- type HTTPBasicAuth
- func (m *HTTPBasicAuth) GetBindInterface() string
- func (m *HTTPBasicAuth) GetEgressFilter() string
- func (m *HTTPBasicAuth) GetID() string
- func (m *HTTPBasicAuth) GetName() string
- func (m *HTTPBasicAuth) GetSecretStoreID() string
- func (m *HTTPBasicAuth) GetTags() Tags
- func (m *HTTPBasicAuth) SetBindInterface(v string)
- func (m *HTTPBasicAuth) SetEgressFilter(v string)
- func (m *HTTPBasicAuth) SetName(v string)
- func (m *HTTPBasicAuth) SetSecretStoreID(v string)
- func (m *HTTPBasicAuth) SetTags(v Tags)
- type HTTPNoAuth
- func (m *HTTPNoAuth) GetBindInterface() string
- func (m *HTTPNoAuth) GetEgressFilter() string
- func (m *HTTPNoAuth) GetID() string
- func (m *HTTPNoAuth) GetName() string
- func (m *HTTPNoAuth) GetSecretStoreID() string
- func (m *HTTPNoAuth) GetTags() Tags
- func (m *HTTPNoAuth) SetBindInterface(v string)
- func (m *HTTPNoAuth) SetEgressFilter(v string)
- func (m *HTTPNoAuth) SetName(v string)
- func (m *HTTPNoAuth) SetSecretStoreID(v string)
- func (m *HTTPNoAuth) SetTags(v Tags)
- type HealthChecks
- type Healthcheck
- type HealthcheckIterator
- type HealthcheckListResponse
- type HealthcheckRequest
- type HealthcheckResponse
- type HealthcheckStatus
- type IdentityAlias
- type IdentityAliasCreateResponse
- type IdentityAliasDeleteResponse
- type IdentityAliasGetResponse
- type IdentityAliasHistory
- type IdentityAliasHistoryIterator
- type IdentityAliasIterator
- type IdentityAliasUpdateResponse
- type IdentityAliases
- func (svc *IdentityAliases) Create(ctx context.Context, identityAlias *IdentityAlias) (*IdentityAliasCreateResponse, error)
- func (svc *IdentityAliases) Delete(ctx context.Context, id string) (*IdentityAliasDeleteResponse, error)
- func (svc *IdentityAliases) Get(ctx context.Context, id string) (*IdentityAliasGetResponse, error)
- func (svc *IdentityAliases) List(ctx context.Context, filter string, args ...interface{}) (IdentityAliasIterator, error)
- func (svc *IdentityAliases) Update(ctx context.Context, identityAlias *IdentityAlias) (*IdentityAliasUpdateResponse, error)
- type IdentityAliasesHistory
- type IdentitySet
- type IdentitySetCreateResponse
- type IdentitySetDeleteResponse
- type IdentitySetGetResponse
- type IdentitySetHistory
- type IdentitySetHistoryIterator
- type IdentitySetIterator
- type IdentitySetUpdateResponse
- type IdentitySets
- func (svc *IdentitySets) Create(ctx context.Context, identitySet *IdentitySet) (*IdentitySetCreateResponse, error)
- func (svc *IdentitySets) Delete(ctx context.Context, id string) (*IdentitySetDeleteResponse, error)
- func (svc *IdentitySets) Get(ctx context.Context, id string) (*IdentitySetGetResponse, error)
- func (svc *IdentitySets) List(ctx context.Context, filter string, args ...interface{}) (IdentitySetIterator, error)
- func (svc *IdentitySets) Update(ctx context.Context, identitySet *IdentitySet) (*IdentitySetUpdateResponse, error)
- type IdentitySetsHistory
- type InternalError
- type K8sPrivileges
- type KeyValueEngine
- func (m *KeyValueEngine) GetID() string
- func (m *KeyValueEngine) GetKeyRotationIntervalDays() int32
- func (m *KeyValueEngine) GetName() string
- func (m *KeyValueEngine) GetNodeSelector() string
- func (m *KeyValueEngine) GetPublicKey() []byte
- func (m *KeyValueEngine) GetSecretStoreID() string
- func (m *KeyValueEngine) GetSecretStoreRootPath() string
- func (m *KeyValueEngine) GetTags() Tags
- func (m *KeyValueEngine) SetKeyRotationIntervalDays(v int32)
- func (m *KeyValueEngine) SetName(v string)
- func (m *KeyValueEngine) SetNodeSelector(v string)
- func (m *KeyValueEngine) SetPublicKey(v []byte)
- func (m *KeyValueEngine) SetSecretStoreID(v string)
- func (m *KeyValueEngine) SetSecretStoreRootPath(v string)
- func (m *KeyValueEngine) SetTags(v Tags)
- type KeyfactorSSHStore
- type KeyfactorX509Store
- type Kubernetes
- func (m *Kubernetes) GetBindInterface() string
- func (m *Kubernetes) GetEgressFilter() string
- func (m *Kubernetes) GetID() string
- func (m *Kubernetes) GetName() string
- func (m *Kubernetes) GetSecretStoreID() string
- func (m *Kubernetes) GetTags() Tags
- func (m *Kubernetes) SetBindInterface(v string)
- func (m *Kubernetes) SetEgressFilter(v string)
- func (m *Kubernetes) SetName(v string)
- func (m *Kubernetes) SetSecretStoreID(v string)
- func (m *Kubernetes) SetTags(v Tags)
- type KubernetesBasicAuth
- func (m *KubernetesBasicAuth) GetBindInterface() string
- func (m *KubernetesBasicAuth) GetEgressFilter() string
- func (m *KubernetesBasicAuth) GetID() string
- func (m *KubernetesBasicAuth) GetName() string
- func (m *KubernetesBasicAuth) GetSecretStoreID() string
- func (m *KubernetesBasicAuth) GetTags() Tags
- func (m *KubernetesBasicAuth) SetBindInterface(v string)
- func (m *KubernetesBasicAuth) SetEgressFilter(v string)
- func (m *KubernetesBasicAuth) SetName(v string)
- func (m *KubernetesBasicAuth) SetSecretStoreID(v string)
- func (m *KubernetesBasicAuth) SetTags(v Tags)
- type KubernetesPodIdentity
- func (m *KubernetesPodIdentity) GetBindInterface() string
- func (m *KubernetesPodIdentity) GetEgressFilter() string
- func (m *KubernetesPodIdentity) GetID() string
- func (m *KubernetesPodIdentity) GetName() string
- func (m *KubernetesPodIdentity) GetSecretStoreID() string
- func (m *KubernetesPodIdentity) GetTags() Tags
- func (m *KubernetesPodIdentity) SetBindInterface(v string)
- func (m *KubernetesPodIdentity) SetEgressFilter(v string)
- func (m *KubernetesPodIdentity) SetName(v string)
- func (m *KubernetesPodIdentity) SetSecretStoreID(v string)
- func (m *KubernetesPodIdentity) SetTags(v Tags)
- type KubernetesServiceAccount
- func (m *KubernetesServiceAccount) GetBindInterface() string
- func (m *KubernetesServiceAccount) GetEgressFilter() string
- func (m *KubernetesServiceAccount) GetID() string
- func (m *KubernetesServiceAccount) GetName() string
- func (m *KubernetesServiceAccount) GetSecretStoreID() string
- func (m *KubernetesServiceAccount) GetTags() Tags
- func (m *KubernetesServiceAccount) SetBindInterface(v string)
- func (m *KubernetesServiceAccount) SetEgressFilter(v string)
- func (m *KubernetesServiceAccount) SetName(v string)
- func (m *KubernetesServiceAccount) SetSecretStoreID(v string)
- func (m *KubernetesServiceAccount) SetTags(v Tags)
- type KubernetesServiceAccountUserImpersonationdeprecated
- func (m *KubernetesServiceAccountUserImpersonation) GetBindInterface() string
- func (m *KubernetesServiceAccountUserImpersonation) GetEgressFilter() string
- func (m *KubernetesServiceAccountUserImpersonation) GetID() string
- func (m *KubernetesServiceAccountUserImpersonation) GetName() string
- func (m *KubernetesServiceAccountUserImpersonation) GetSecretStoreID() string
- func (m *KubernetesServiceAccountUserImpersonation) GetTags() Tags
- func (m *KubernetesServiceAccountUserImpersonation) SetBindInterface(v string)
- func (m *KubernetesServiceAccountUserImpersonation) SetEgressFilter(v string)
- func (m *KubernetesServiceAccountUserImpersonation) SetName(v string)
- func (m *KubernetesServiceAccountUserImpersonation) SetSecretStoreID(v string)
- func (m *KubernetesServiceAccountUserImpersonation) SetTags(v Tags)
- type KubernetesUserImpersonationdeprecated
- func (m *KubernetesUserImpersonation) GetBindInterface() string
- func (m *KubernetesUserImpersonation) GetEgressFilter() string
- func (m *KubernetesUserImpersonation) GetID() string
- func (m *KubernetesUserImpersonation) GetName() string
- func (m *KubernetesUserImpersonation) GetSecretStoreID() string
- func (m *KubernetesUserImpersonation) GetTags() Tags
- func (m *KubernetesUserImpersonation) SetBindInterface(v string)
- func (m *KubernetesUserImpersonation) SetEgressFilter(v string)
- func (m *KubernetesUserImpersonation) SetName(v string)
- func (m *KubernetesUserImpersonation) SetSecretStoreID(v string)
- func (m *KubernetesUserImpersonation) SetTags(v Tags)
- type LogCategoryConfig
- type LogCategoryConfigMap
- type LogConfig
- type MCPGatewayNoAuth
- func (m *MCPGatewayNoAuth) GetBindInterface() string
- func (m *MCPGatewayNoAuth) GetEgressFilter() string
- func (m *MCPGatewayNoAuth) GetID() string
- func (m *MCPGatewayNoAuth) GetName() string
- func (m *MCPGatewayNoAuth) GetSecretStoreID() string
- func (m *MCPGatewayNoAuth) GetTags() Tags
- func (m *MCPGatewayNoAuth) SetBindInterface(v string)
- func (m *MCPGatewayNoAuth) SetEgressFilter(v string)
- func (m *MCPGatewayNoAuth) SetName(v string)
- func (m *MCPGatewayNoAuth) SetSecretStoreID(v string)
- func (m *MCPGatewayNoAuth) SetTags(v Tags)
- type MCPGatewayOAuth
- func (m *MCPGatewayOAuth) GetBindInterface() string
- func (m *MCPGatewayOAuth) GetEgressFilter() string
- func (m *MCPGatewayOAuth) GetID() string
- func (m *MCPGatewayOAuth) GetName() string
- func (m *MCPGatewayOAuth) GetSecretStoreID() string
- func (m *MCPGatewayOAuth) GetTags() Tags
- func (m *MCPGatewayOAuth) SetBindInterface(v string)
- func (m *MCPGatewayOAuth) SetEgressFilter(v string)
- func (m *MCPGatewayOAuth) SetName(v string)
- func (m *MCPGatewayOAuth) SetSecretStoreID(v string)
- func (m *MCPGatewayOAuth) SetTags(v Tags)
- type MCPGatewayOAuthDCR
- func (m *MCPGatewayOAuthDCR) GetBindInterface() string
- func (m *MCPGatewayOAuthDCR) GetEgressFilter() string
- func (m *MCPGatewayOAuthDCR) GetID() string
- func (m *MCPGatewayOAuthDCR) GetName() string
- func (m *MCPGatewayOAuthDCR) GetSecretStoreID() string
- func (m *MCPGatewayOAuthDCR) GetTags() Tags
- func (m *MCPGatewayOAuthDCR) SetBindInterface(v string)
- func (m *MCPGatewayOAuthDCR) SetEgressFilter(v string)
- func (m *MCPGatewayOAuthDCR) SetName(v string)
- func (m *MCPGatewayOAuthDCR) SetSecretStoreID(v string)
- func (m *MCPGatewayOAuthDCR) SetTags(v Tags)
- type MCPGatewayPAT
- func (m *MCPGatewayPAT) GetBindInterface() string
- func (m *MCPGatewayPAT) GetEgressFilter() string
- func (m *MCPGatewayPAT) GetID() string
- func (m *MCPGatewayPAT) GetName() string
- func (m *MCPGatewayPAT) GetSecretStoreID() string
- func (m *MCPGatewayPAT) GetTags() Tags
- func (m *MCPGatewayPAT) SetBindInterface(v string)
- func (m *MCPGatewayPAT) SetEgressFilter(v string)
- func (m *MCPGatewayPAT) SetName(v string)
- func (m *MCPGatewayPAT) SetSecretStoreID(v string)
- func (m *MCPGatewayPAT) SetTags(v Tags)
- type MTLSMysql
- func (m *MTLSMysql) GetBindInterface() string
- func (m *MTLSMysql) GetEgressFilter() string
- func (m *MTLSMysql) GetID() string
- func (m *MTLSMysql) GetName() string
- func (m *MTLSMysql) GetSecretStoreID() string
- func (m *MTLSMysql) GetTags() Tags
- func (m *MTLSMysql) SetBindInterface(v string)
- func (m *MTLSMysql) SetEgressFilter(v string)
- func (m *MTLSMysql) SetName(v string)
- func (m *MTLSMysql) SetSecretStoreID(v string)
- func (m *MTLSMysql) SetTags(v Tags)
- type MTLSPostgres
- func (m *MTLSPostgres) GetBindInterface() string
- func (m *MTLSPostgres) GetEgressFilter() string
- func (m *MTLSPostgres) GetID() string
- func (m *MTLSPostgres) GetName() string
- func (m *MTLSPostgres) GetSecretStoreID() string
- func (m *MTLSPostgres) GetTags() Tags
- func (m *MTLSPostgres) SetBindInterface(v string)
- func (m *MTLSPostgres) SetEgressFilter(v string)
- func (m *MTLSPostgres) SetName(v string)
- func (m *MTLSPostgres) SetSecretStoreID(v string)
- func (m *MTLSPostgres) SetTags(v Tags)
- type ManagedSecret
- type ManagedSecretCreateRequest
- type ManagedSecretCreateResponse
- type ManagedSecretDeleteRequest
- type ManagedSecretDeleteResponse
- type ManagedSecretGetRequest
- type ManagedSecretGetResponse
- type ManagedSecretIterator
- type ManagedSecretListRequest
- type ManagedSecretListResponse
- type ManagedSecretLog
- type ManagedSecretLogIterator
- type ManagedSecretLogsRequest
- type ManagedSecretLogsResponse
- type ManagedSecretPasswordPolicy
- type ManagedSecretPolicy
- type ManagedSecretRetrieveRequest
- type ManagedSecretRetrieveResponse
- type ManagedSecretRotateRequest
- type ManagedSecretRotateResponse
- type ManagedSecretRotationPolicy
- type ManagedSecretUpdateRequest
- type ManagedSecretUpdateResponse
- type ManagedSecretValidateRequest
- type ManagedSecretValidateResponse
- type ManagedSecrets
- func (svc *ManagedSecrets) Create(ctx context.Context, managedSecret *ManagedSecret) (*ManagedSecretCreateResponse, error)
- func (svc *ManagedSecrets) Delete(ctx context.Context, id string) (*ManagedSecretDeleteResponse, error)
- func (svc *ManagedSecrets) ForceDelete(ctx context.Context, id string) (*ManagedSecretDeleteResponse, error)
- func (svc *ManagedSecrets) Get(ctx context.Context, id string) (*ManagedSecretGetResponse, error)
- func (svc *ManagedSecrets) List(ctx context.Context, filter string, args ...interface{}) (ManagedSecretIterator, error)
- func (svc *ManagedSecrets) ListByActor(ctx context.Context, filter string, args ...interface{}) (ManagedSecretIterator, error)
- func (svc *ManagedSecrets) Logs(ctx context.Context, filter string, args ...interface{}) (ManagedSecretLogIterator, error)
- func (svc *ManagedSecrets) Retrieve(ctx context.Context, id string) (*ManagedSecretRetrieveResponse, error)
- func (svc *ManagedSecrets) Rotate(ctx context.Context, id string) (*ManagedSecretRotateResponse, error)
- func (svc *ManagedSecrets) Update(ctx context.Context, managedSecret *ManagedSecret) (*ManagedSecretUpdateResponse, error)
- func (svc *ManagedSecrets) Validate(ctx context.Context, id string) (*ManagedSecretValidateResponse, error)
- type MappedIdentities
- type Maria
- func (m *Maria) GetBindInterface() string
- func (m *Maria) GetEgressFilter() string
- func (m *Maria) GetID() string
- func (m *Maria) GetName() string
- func (m *Maria) GetSecretStoreID() string
- func (m *Maria) GetTags() Tags
- func (m *Maria) SetBindInterface(v string)
- func (m *Maria) SetEgressFilter(v string)
- func (m *Maria) SetName(v string)
- func (m *Maria) SetSecretStoreID(v string)
- func (m *Maria) SetTags(v Tags)
- type Memcached
- func (m *Memcached) GetBindInterface() string
- func (m *Memcached) GetEgressFilter() string
- func (m *Memcached) GetID() string
- func (m *Memcached) GetName() string
- func (m *Memcached) GetSecretStoreID() string
- func (m *Memcached) GetTags() Tags
- func (m *Memcached) SetBindInterface(v string)
- func (m *Memcached) SetEgressFilter(v string)
- func (m *Memcached) SetName(v string)
- func (m *Memcached) SetSecretStoreID(v string)
- func (m *Memcached) SetTags(v Tags)
- type Memsql
- func (m *Memsql) GetBindInterface() string
- func (m *Memsql) GetEgressFilter() string
- func (m *Memsql) GetID() string
- func (m *Memsql) GetName() string
- func (m *Memsql) GetSecretStoreID() string
- func (m *Memsql) GetTags() Tags
- func (m *Memsql) SetBindInterface(v string)
- func (m *Memsql) SetEgressFilter(v string)
- func (m *Memsql) SetName(v string)
- func (m *Memsql) SetSecretStoreID(v string)
- func (m *Memsql) SetTags(v Tags)
- type MongoHost
- func (m *MongoHost) GetBindInterface() string
- func (m *MongoHost) GetEgressFilter() string
- func (m *MongoHost) GetID() string
- func (m *MongoHost) GetName() string
- func (m *MongoHost) GetSecretStoreID() string
- func (m *MongoHost) GetTags() Tags
- func (m *MongoHost) SetBindInterface(v string)
- func (m *MongoHost) SetEgressFilter(v string)
- func (m *MongoHost) SetName(v string)
- func (m *MongoHost) SetSecretStoreID(v string)
- func (m *MongoHost) SetTags(v Tags)
- type MongoLegacyHost
- func (m *MongoLegacyHost) GetBindInterface() string
- func (m *MongoLegacyHost) GetEgressFilter() string
- func (m *MongoLegacyHost) GetID() string
- func (m *MongoLegacyHost) GetName() string
- func (m *MongoLegacyHost) GetSecretStoreID() string
- func (m *MongoLegacyHost) GetTags() Tags
- func (m *MongoLegacyHost) SetBindInterface(v string)
- func (m *MongoLegacyHost) SetEgressFilter(v string)
- func (m *MongoLegacyHost) SetName(v string)
- func (m *MongoLegacyHost) SetSecretStoreID(v string)
- func (m *MongoLegacyHost) SetTags(v Tags)
- type MongoLegacyReplicaset
- func (m *MongoLegacyReplicaset) GetBindInterface() string
- func (m *MongoLegacyReplicaset) GetEgressFilter() string
- func (m *MongoLegacyReplicaset) GetID() string
- func (m *MongoLegacyReplicaset) GetName() string
- func (m *MongoLegacyReplicaset) GetSecretStoreID() string
- func (m *MongoLegacyReplicaset) GetTags() Tags
- func (m *MongoLegacyReplicaset) SetBindInterface(v string)
- func (m *MongoLegacyReplicaset) SetEgressFilter(v string)
- func (m *MongoLegacyReplicaset) SetName(v string)
- func (m *MongoLegacyReplicaset) SetSecretStoreID(v string)
- func (m *MongoLegacyReplicaset) SetTags(v Tags)
- type MongoReplicaSet
- func (m *MongoReplicaSet) GetBindInterface() string
- func (m *MongoReplicaSet) GetEgressFilter() string
- func (m *MongoReplicaSet) GetID() string
- func (m *MongoReplicaSet) GetName() string
- func (m *MongoReplicaSet) GetSecretStoreID() string
- func (m *MongoReplicaSet) GetTags() Tags
- func (m *MongoReplicaSet) SetBindInterface(v string)
- func (m *MongoReplicaSet) SetEgressFilter(v string)
- func (m *MongoReplicaSet) SetName(v string)
- func (m *MongoReplicaSet) SetSecretStoreID(v string)
- func (m *MongoReplicaSet) SetTags(v Tags)
- type MongoShardedCluster
- func (m *MongoShardedCluster) GetBindInterface() string
- func (m *MongoShardedCluster) GetEgressFilter() string
- func (m *MongoShardedCluster) GetID() string
- func (m *MongoShardedCluster) GetName() string
- func (m *MongoShardedCluster) GetSecretStoreID() string
- func (m *MongoShardedCluster) GetTags() Tags
- func (m *MongoShardedCluster) SetBindInterface(v string)
- func (m *MongoShardedCluster) SetEgressFilter(v string)
- func (m *MongoShardedCluster) SetName(v string)
- func (m *MongoShardedCluster) SetSecretStoreID(v string)
- func (m *MongoShardedCluster) SetTags(v Tags)
- type Mysql
- func (m *Mysql) GetBindInterface() string
- func (m *Mysql) GetEgressFilter() string
- func (m *Mysql) GetID() string
- func (m *Mysql) GetName() string
- func (m *Mysql) GetSecretStoreID() string
- func (m *Mysql) GetTags() Tags
- func (m *Mysql) SetBindInterface(v string)
- func (m *Mysql) SetEgressFilter(v string)
- func (m *Mysql) SetName(v string)
- func (m *Mysql) SetSecretStoreID(v string)
- func (m *Mysql) SetTags(v Tags)
- type MysqlEngine
- func (m *MysqlEngine) GetID() string
- func (m *MysqlEngine) GetKeyRotationIntervalDays() int32
- func (m *MysqlEngine) GetName() string
- func (m *MysqlEngine) GetNodeSelector() string
- func (m *MysqlEngine) GetPublicKey() []byte
- func (m *MysqlEngine) GetSecretStoreID() string
- func (m *MysqlEngine) GetSecretStoreRootPath() string
- func (m *MysqlEngine) GetTags() Tags
- func (m *MysqlEngine) SetKeyRotationIntervalDays(v int32)
- func (m *MysqlEngine) SetName(v string)
- func (m *MysqlEngine) SetNodeSelector(v string)
- func (m *MysqlEngine) SetPublicKey(v []byte)
- func (m *MysqlEngine) SetSecretStoreID(v string)
- func (m *MysqlEngine) SetSecretStoreRootPath(v string)
- func (m *MysqlEngine) SetTags(v Tags)
- type Neptune
- func (m *Neptune) GetBindInterface() string
- func (m *Neptune) GetEgressFilter() string
- func (m *Neptune) GetID() string
- func (m *Neptune) GetName() string
- func (m *Neptune) GetSecretStoreID() string
- func (m *Neptune) GetTags() Tags
- func (m *Neptune) SetBindInterface(v string)
- func (m *Neptune) SetEgressFilter(v string)
- func (m *Neptune) SetName(v string)
- func (m *Neptune) SetSecretStoreID(v string)
- func (m *Neptune) SetTags(v Tags)
- type NeptuneIAM
- func (m *NeptuneIAM) GetBindInterface() string
- func (m *NeptuneIAM) GetEgressFilter() string
- func (m *NeptuneIAM) GetID() string
- func (m *NeptuneIAM) GetName() string
- func (m *NeptuneIAM) GetSecretStoreID() string
- func (m *NeptuneIAM) GetTags() Tags
- func (m *NeptuneIAM) SetBindInterface(v string)
- func (m *NeptuneIAM) SetEgressFilter(v string)
- func (m *NeptuneIAM) SetName(v string)
- func (m *NeptuneIAM) SetSecretStoreID(v string)
- func (m *NeptuneIAM) SetTags(v Tags)
- type Node
- type NodeCreateResponse
- type NodeDeleteResponse
- type NodeGetResponse
- type NodeHistory
- type NodeHistoryIterator
- type NodeIterator
- type NodeMaintenanceWindow
- type NodeTCPProbeResponse
- type NodeUpdateResponse
- type Nodes
- func (svc *Nodes) Create(ctx context.Context, node Node) (*NodeCreateResponse, error)
- func (svc *Nodes) Delete(ctx context.Context, id string) (*NodeDeleteResponse, error)
- func (svc *Nodes) Get(ctx context.Context, id string) (*NodeGetResponse, error)
- func (svc *Nodes) List(ctx context.Context, filter string, args ...interface{}) (NodeIterator, error)
- func (svc *Nodes) TCPProbe(ctx context.Context, nodeId string, host string, port int32) (*NodeTCPProbeResponse, error)
- func (svc *Nodes) Update(ctx context.Context, node Node) (*NodeUpdateResponse, error)
- type NodesHistory
- type NotFoundError
- type OktaGroups
- func (m *OktaGroups) GetBindInterface() string
- func (m *OktaGroups) GetEgressFilter() string
- func (m *OktaGroups) GetID() string
- func (m *OktaGroups) GetName() string
- func (m *OktaGroups) GetSecretStoreID() string
- func (m *OktaGroups) GetTags() Tags
- func (m *OktaGroups) SetBindInterface(v string)
- func (m *OktaGroups) SetEgressFilter(v string)
- func (m *OktaGroups) SetName(v string)
- func (m *OktaGroups) SetSecretStoreID(v string)
- func (m *OktaGroups) SetTags(v Tags)
- type OktaGroupsPrivileges
- type Oracle
- func (m *Oracle) GetBindInterface() string
- func (m *Oracle) GetEgressFilter() string
- func (m *Oracle) GetID() string
- func (m *Oracle) GetName() string
- func (m *Oracle) GetSecretStoreID() string
- func (m *Oracle) GetTags() Tags
- func (m *Oracle) SetBindInterface(v string)
- func (m *Oracle) SetEgressFilter(v string)
- func (m *Oracle) SetName(v string)
- func (m *Oracle) SetSecretStoreID(v string)
- func (m *Oracle) SetTags(v Tags)
- type OracleNNE
- func (m *OracleNNE) GetBindInterface() string
- func (m *OracleNNE) GetEgressFilter() string
- func (m *OracleNNE) GetID() string
- func (m *OracleNNE) GetName() string
- func (m *OracleNNE) GetSecretStoreID() string
- func (m *OracleNNE) GetTags() Tags
- func (m *OracleNNE) SetBindInterface(v string)
- func (m *OracleNNE) SetEgressFilter(v string)
- func (m *OracleNNE) SetName(v string)
- func (m *OracleNNE) SetSecretStoreID(v string)
- func (m *OracleNNE) SetTags(v Tags)
- type Organization
- type OrganizationHistory
- type OrganizationHistoryRecord
- type OrganizationHistoryRecordIterator
- type PeeringGroup
- type PeeringGroupCreateResponse
- type PeeringGroupDeleteResponse
- type PeeringGroupGetResponse
- type PeeringGroupIterator
- type PeeringGroupNode
- type PeeringGroupNodeCreateResponse
- type PeeringGroupNodeDeleteResponse
- type PeeringGroupNodeGetResponse
- type PeeringGroupNodeIterator
- type PeeringGroupNodes
- func (svc *PeeringGroupNodes) Create(ctx context.Context, peeringGroupNode *PeeringGroupNode) (*PeeringGroupNodeCreateResponse, error)
- func (svc *PeeringGroupNodes) Delete(ctx context.Context, id string) (*PeeringGroupNodeDeleteResponse, error)
- func (svc *PeeringGroupNodes) Get(ctx context.Context, id string) (*PeeringGroupNodeGetResponse, error)
- func (svc *PeeringGroupNodes) List(ctx context.Context, filter string, args ...interface{}) (PeeringGroupNodeIterator, error)
- type PeeringGroupPeer
- type PeeringGroupPeerCreateResponse
- type PeeringGroupPeerDeleteResponse
- type PeeringGroupPeerGetResponse
- type PeeringGroupPeerIterator
- type PeeringGroupPeers
- func (svc *PeeringGroupPeers) Create(ctx context.Context, peeringGroupPeer *PeeringGroupPeer) (*PeeringGroupPeerCreateResponse, error)
- func (svc *PeeringGroupPeers) Delete(ctx context.Context, id string) (*PeeringGroupPeerDeleteResponse, error)
- func (svc *PeeringGroupPeers) Get(ctx context.Context, id string) (*PeeringGroupPeerGetResponse, error)
- func (svc *PeeringGroupPeers) List(ctx context.Context, filter string, args ...interface{}) (PeeringGroupPeerIterator, error)
- type PeeringGroupResource
- type PeeringGroupResourceCreateResponse
- type PeeringGroupResourceDeleteResponse
- type PeeringGroupResourceGetResponse
- type PeeringGroupResourceIterator
- type PeeringGroupResources
- func (svc *PeeringGroupResources) Create(ctx context.Context, peeringGroupResource *PeeringGroupResource) (*PeeringGroupResourceCreateResponse, error)
- func (svc *PeeringGroupResources) Delete(ctx context.Context, id string) (*PeeringGroupResourceDeleteResponse, error)
- func (svc *PeeringGroupResources) Get(ctx context.Context, id string) (*PeeringGroupResourceGetResponse, error)
- func (svc *PeeringGroupResources) List(ctx context.Context, filter string, args ...interface{}) (PeeringGroupResourceIterator, error)
- type PeeringGroups
- func (svc *PeeringGroups) Create(ctx context.Context, peeringGroup *PeeringGroup) (*PeeringGroupCreateResponse, error)
- func (svc *PeeringGroups) Delete(ctx context.Context, id string) (*PeeringGroupDeleteResponse, error)
- func (svc *PeeringGroups) Get(ctx context.Context, id string) (*PeeringGroupGetResponse, error)
- func (svc *PeeringGroups) List(ctx context.Context, filter string, args ...interface{}) (PeeringGroupIterator, error)
- type PermissionError
- type Policies
- func (svc *Policies) Create(ctx context.Context, policy *Policy) (*PolicyCreateResponse, error)
- func (svc *Policies) Delete(ctx context.Context, id string) (*PolicyDeleteResponse, error)
- func (svc *Policies) Get(ctx context.Context, id string) (*PolicyGetResponse, error)
- func (svc *Policies) List(ctx context.Context, filter string, args ...interface{}) (PolicyIterator, error)
- func (svc *Policies) Update(ctx context.Context, policy *Policy) (*PolicyUpdateResponse, error)
- type PoliciesHistory
- type Policy
- type PolicyCreateResponse
- type PolicyDeleteResponse
- type PolicyGetResponse
- type PolicyHistory
- type PolicyHistoryIterator
- type PolicyIterator
- type PolicyListResponse
- type PolicyUpdateResponse
- type Postgres
- func (m *Postgres) GetBindInterface() string
- func (m *Postgres) GetEgressFilter() string
- func (m *Postgres) GetID() string
- func (m *Postgres) GetName() string
- func (m *Postgres) GetSecretStoreID() string
- func (m *Postgres) GetTags() Tags
- func (m *Postgres) SetBindInterface(v string)
- func (m *Postgres) SetEgressFilter(v string)
- func (m *Postgres) SetName(v string)
- func (m *Postgres) SetSecretStoreID(v string)
- func (m *Postgres) SetTags(v Tags)
- type PostgresEngine
- func (m *PostgresEngine) GetID() string
- func (m *PostgresEngine) GetKeyRotationIntervalDays() int32
- func (m *PostgresEngine) GetName() string
- func (m *PostgresEngine) GetNodeSelector() string
- func (m *PostgresEngine) GetPublicKey() []byte
- func (m *PostgresEngine) GetSecretStoreID() string
- func (m *PostgresEngine) GetSecretStoreRootPath() string
- func (m *PostgresEngine) GetTags() Tags
- func (m *PostgresEngine) SetKeyRotationIntervalDays(v int32)
- func (m *PostgresEngine) SetName(v string)
- func (m *PostgresEngine) SetNodeSelector(v string)
- func (m *PostgresEngine) SetPublicKey(v []byte)
- func (m *PostgresEngine) SetSecretStoreID(v string)
- func (m *PostgresEngine) SetSecretStoreRootPath(v string)
- func (m *PostgresEngine) SetTags(v Tags)
- type Presto
- func (m *Presto) GetBindInterface() string
- func (m *Presto) GetEgressFilter() string
- func (m *Presto) GetID() string
- func (m *Presto) GetName() string
- func (m *Presto) GetSecretStoreID() string
- func (m *Presto) GetTags() Tags
- func (m *Presto) SetBindInterface(v string)
- func (m *Presto) SetEgressFilter(v string)
- func (m *Presto) SetName(v string)
- func (m *Presto) SetSecretStoreID(v string)
- func (m *Presto) SetTags(v Tags)
- type Privileges
- type ProxyCluster
- type ProxyClusterKey
- type ProxyClusterKeyCreateResponse
- type ProxyClusterKeyDeleteResponse
- type ProxyClusterKeyGetResponse
- type ProxyClusterKeyIterator
- type ProxyClusterKeys
- func (svc *ProxyClusterKeys) Create(ctx context.Context, proxyClusterKey *ProxyClusterKey) (*ProxyClusterKeyCreateResponse, error)
- func (svc *ProxyClusterKeys) Delete(ctx context.Context, id string) (*ProxyClusterKeyDeleteResponse, error)
- func (svc *ProxyClusterKeys) Get(ctx context.Context, id string) (*ProxyClusterKeyGetResponse, error)
- func (svc *ProxyClusterKeys) List(ctx context.Context, filter string, args ...interface{}) (ProxyClusterKeyIterator, error)
- type Queries
- type Query
- type QueryCapture
- type QueryIterator
- type RDP
- func (m *RDP) GetBindInterface() string
- func (m *RDP) GetEgressFilter() string
- func (m *RDP) GetID() string
- func (m *RDP) GetName() string
- func (m *RDP) GetSecretStoreID() string
- func (m *RDP) GetTags() Tags
- func (m *RDP) SetBindInterface(v string)
- func (m *RDP) SetEgressFilter(v string)
- func (m *RDP) SetName(v string)
- func (m *RDP) SetSecretStoreID(v string)
- func (m *RDP) SetTags(v Tags)
- type RDPCert
- func (m *RDPCert) GetBindInterface() string
- func (m *RDPCert) GetEgressFilter() string
- func (m *RDPCert) GetID() string
- func (m *RDPCert) GetName() string
- func (m *RDPCert) GetSecretStoreID() string
- func (m *RDPCert) GetTags() Tags
- func (m *RDPCert) SetBindInterface(v string)
- func (m *RDPCert) SetEgressFilter(v string)
- func (m *RDPCert) SetName(v string)
- func (m *RDPCert) SetSecretStoreID(v string)
- func (m *RDPCert) SetTags(v Tags)
- type RDSPostgresIAM
- func (m *RDSPostgresIAM) GetBindInterface() string
- func (m *RDSPostgresIAM) GetEgressFilter() string
- func (m *RDSPostgresIAM) GetID() string
- func (m *RDSPostgresIAM) GetName() string
- func (m *RDSPostgresIAM) GetSecretStoreID() string
- func (m *RDSPostgresIAM) GetTags() Tags
- func (m *RDSPostgresIAM) SetBindInterface(v string)
- func (m *RDSPostgresIAM) SetEgressFilter(v string)
- func (m *RDSPostgresIAM) SetName(v string)
- func (m *RDSPostgresIAM) SetSecretStoreID(v string)
- func (m *RDSPostgresIAM) SetTags(v Tags)
- type RabbitMQAMQP091
- func (m *RabbitMQAMQP091) GetBindInterface() string
- func (m *RabbitMQAMQP091) GetEgressFilter() string
- func (m *RabbitMQAMQP091) GetID() string
- func (m *RabbitMQAMQP091) GetName() string
- func (m *RabbitMQAMQP091) GetSecretStoreID() string
- func (m *RabbitMQAMQP091) GetTags() Tags
- func (m *RabbitMQAMQP091) SetBindInterface(v string)
- func (m *RabbitMQAMQP091) SetEgressFilter(v string)
- func (m *RabbitMQAMQP091) SetName(v string)
- func (m *RabbitMQAMQP091) SetSecretStoreID(v string)
- func (m *RabbitMQAMQP091) SetTags(v Tags)
- type RateLimitError
- type RateLimitMetadata
- type RawTCP
- func (m *RawTCP) GetBindInterface() string
- func (m *RawTCP) GetEgressFilter() string
- func (m *RawTCP) GetID() string
- func (m *RawTCP) GetName() string
- func (m *RawTCP) GetSecretStoreID() string
- func (m *RawTCP) GetTags() Tags
- func (m *RawTCP) SetBindInterface(v string)
- func (m *RawTCP) SetEgressFilter(v string)
- func (m *RawTCP) SetName(v string)
- func (m *RawTCP) SetSecretStoreID(v string)
- func (m *RawTCP) SetTags(v Tags)
- type Redis
- func (m *Redis) GetBindInterface() string
- func (m *Redis) GetEgressFilter() string
- func (m *Redis) GetID() string
- func (m *Redis) GetName() string
- func (m *Redis) GetSecretStoreID() string
- func (m *Redis) GetTags() Tags
- func (m *Redis) SetBindInterface(v string)
- func (m *Redis) SetEgressFilter(v string)
- func (m *Redis) SetName(v string)
- func (m *Redis) SetSecretStoreID(v string)
- func (m *Redis) SetTags(v Tags)
- type RedisCluster
- func (m *RedisCluster) GetBindInterface() string
- func (m *RedisCluster) GetEgressFilter() string
- func (m *RedisCluster) GetID() string
- func (m *RedisCluster) GetName() string
- func (m *RedisCluster) GetSecretStoreID() string
- func (m *RedisCluster) GetTags() Tags
- func (m *RedisCluster) SetBindInterface(v string)
- func (m *RedisCluster) SetEgressFilter(v string)
- func (m *RedisCluster) SetName(v string)
- func (m *RedisCluster) SetSecretStoreID(v string)
- func (m *RedisCluster) SetTags(v Tags)
- type Redshift
- func (m *Redshift) GetBindInterface() string
- func (m *Redshift) GetEgressFilter() string
- func (m *Redshift) GetID() string
- func (m *Redshift) GetName() string
- func (m *Redshift) GetSecretStoreID() string
- func (m *Redshift) GetTags() Tags
- func (m *Redshift) SetBindInterface(v string)
- func (m *Redshift) SetEgressFilter(v string)
- func (m *Redshift) SetName(v string)
- func (m *Redshift) SetSecretStoreID(v string)
- func (m *Redshift) SetTags(v Tags)
- type RedshiftIAM
- func (m *RedshiftIAM) GetBindInterface() string
- func (m *RedshiftIAM) GetEgressFilter() string
- func (m *RedshiftIAM) GetID() string
- func (m *RedshiftIAM) GetName() string
- func (m *RedshiftIAM) GetSecretStoreID() string
- func (m *RedshiftIAM) GetTags() Tags
- func (m *RedshiftIAM) SetBindInterface(v string)
- func (m *RedshiftIAM) SetEgressFilter(v string)
- func (m *RedshiftIAM) SetName(v string)
- func (m *RedshiftIAM) SetSecretStoreID(v string)
- func (m *RedshiftIAM) SetTags(v Tags)
- type RedshiftServerlessIAM
- func (m *RedshiftServerlessIAM) GetBindInterface() string
- func (m *RedshiftServerlessIAM) GetEgressFilter() string
- func (m *RedshiftServerlessIAM) GetID() string
- func (m *RedshiftServerlessIAM) GetName() string
- func (m *RedshiftServerlessIAM) GetSecretStoreID() string
- func (m *RedshiftServerlessIAM) GetTags() Tags
- func (m *RedshiftServerlessIAM) SetBindInterface(v string)
- func (m *RedshiftServerlessIAM) SetEgressFilter(v string)
- func (m *RedshiftServerlessIAM) SetName(v string)
- func (m *RedshiftServerlessIAM) SetSecretStoreID(v string)
- func (m *RedshiftServerlessIAM) SetTags(v Tags)
- type Relay
- type RemoteIdentities
- func (svc *RemoteIdentities) Create(ctx context.Context, remoteIdentity *RemoteIdentity) (*RemoteIdentityCreateResponse, error)
- func (svc *RemoteIdentities) Delete(ctx context.Context, id string) (*RemoteIdentityDeleteResponse, error)
- func (svc *RemoteIdentities) Get(ctx context.Context, id string) (*RemoteIdentityGetResponse, error)
- func (svc *RemoteIdentities) List(ctx context.Context, filter string, args ...interface{}) (RemoteIdentityIterator, error)
- func (svc *RemoteIdentities) Update(ctx context.Context, remoteIdentity *RemoteIdentity) (*RemoteIdentityUpdateResponse, error)
- type RemoteIdentitiesHistory
- type RemoteIdentity
- type RemoteIdentityCreateResponse
- type RemoteIdentityDeleteResponse
- type RemoteIdentityGetResponse
- type RemoteIdentityGroup
- type RemoteIdentityGroupGetResponse
- type RemoteIdentityGroupHistory
- type RemoteIdentityGroupHistoryIterator
- type RemoteIdentityGroupIterator
- type RemoteIdentityGroups
- type RemoteIdentityGroupsHistory
- type RemoteIdentityHistory
- type RemoteIdentityHistoryIterator
- type RemoteIdentityIterator
- type RemoteIdentityUpdateResponse
- type ReplayChunk
- type ReplayChunkEvent
- type ReplayChunkIterator
- type Replays
- type RequestableAccountEntitlement
- type RequestableAccountEntitlementIterator
- type RequestableAccountEntitlements
- type RequestableResource
- type RequestableResourceEntitlement
- type RequestableResourceEntitlementIterator
- type RequestableResourceEntitlements
- type RequestableRoleEntitlement
- type RequestableRoleEntitlementIterator
- type RequestableRoleEntitlements
- type Resource
- type ResourceCreateResponse
- type ResourceDeleteResponse
- type ResourceGetResponse
- type ResourceHealthcheckRequest
- type ResourceHealthcheckResponse
- type ResourceHistory
- type ResourceHistoryIterator
- type ResourceIterator
- type ResourceType
- type ResourceUpdateResponse
- type Resources
- func (svc *Resources) Create(ctx context.Context, resource Resource) (*ResourceCreateResponse, error)
- func (svc *Resources) Delete(ctx context.Context, id string) (*ResourceDeleteResponse, error)
- func (svc *Resources) EnumerateTags(ctx context.Context, filter string, args ...interface{}) (TagIterator, error)
- func (svc *Resources) Get(ctx context.Context, id string) (*ResourceGetResponse, error)
- func (svc *Resources) Healthcheck(ctx context.Context, id string) (*ResourceHealthcheckResponse, error)
- func (svc *Resources) List(ctx context.Context, filter string, args ...interface{}) (ResourceIterator, error)
- func (svc *Resources) Update(ctx context.Context, resource Resource) (*ResourceUpdateResponse, error)
- type ResourcesHistory
- type Role
- type RoleCreateResponse
- type RoleDeleteResponse
- type RoleGetResponse
- type RoleHistory
- type RoleHistoryIterator
- type RoleIterator
- type RoleResource
- type RoleResourceHistory
- type RoleResourceHistoryIterator
- type RoleResourceIterator
- type RoleResources
- type RoleResourcesHistory
- type RoleUpdateResponse
- type Roles
- func (svc *Roles) Create(ctx context.Context, role *Role) (*RoleCreateResponse, error)
- func (svc *Roles) Delete(ctx context.Context, id string) (*RoleDeleteResponse, error)
- func (svc *Roles) Get(ctx context.Context, id string) (*RoleGetResponse, error)
- func (svc *Roles) List(ctx context.Context, filter string, args ...interface{}) (RoleIterator, error)
- func (svc *Roles) Update(ctx context.Context, role *Role) (*RoleUpdateResponse, error)
- type RolesHistory
- type SQLServer
- func (m *SQLServer) GetBindInterface() string
- func (m *SQLServer) GetEgressFilter() string
- func (m *SQLServer) GetID() string
- func (m *SQLServer) GetName() string
- func (m *SQLServer) GetSecretStoreID() string
- func (m *SQLServer) GetTags() Tags
- func (m *SQLServer) SetBindInterface(v string)
- func (m *SQLServer) SetEgressFilter(v string)
- func (m *SQLServer) SetName(v string)
- func (m *SQLServer) SetSecretStoreID(v string)
- func (m *SQLServer) SetTags(v Tags)
- type SQLServerAzureAD
- func (m *SQLServerAzureAD) GetBindInterface() string
- func (m *SQLServerAzureAD) GetEgressFilter() string
- func (m *SQLServerAzureAD) GetID() string
- func (m *SQLServerAzureAD) GetName() string
- func (m *SQLServerAzureAD) GetSecretStoreID() string
- func (m *SQLServerAzureAD) GetTags() Tags
- func (m *SQLServerAzureAD) SetBindInterface(v string)
- func (m *SQLServerAzureAD) SetEgressFilter(v string)
- func (m *SQLServerAzureAD) SetName(v string)
- func (m *SQLServerAzureAD) SetSecretStoreID(v string)
- func (m *SQLServerAzureAD) SetTags(v Tags)
- type SQLServerKerberosAD
- func (m *SQLServerKerberosAD) GetBindInterface() string
- func (m *SQLServerKerberosAD) GetEgressFilter() string
- func (m *SQLServerKerberosAD) GetID() string
- func (m *SQLServerKerberosAD) GetName() string
- func (m *SQLServerKerberosAD) GetSecretStoreID() string
- func (m *SQLServerKerberosAD) GetTags() Tags
- func (m *SQLServerKerberosAD) SetBindInterface(v string)
- func (m *SQLServerKerberosAD) SetEgressFilter(v string)
- func (m *SQLServerKerberosAD) SetName(v string)
- func (m *SQLServerKerberosAD) SetSecretStoreID(v string)
- func (m *SQLServerKerberosAD) SetTags(v Tags)
- type SSH
- func (m *SSH) GetBindInterface() string
- func (m *SSH) GetEgressFilter() string
- func (m *SSH) GetID() string
- func (m *SSH) GetName() string
- func (m *SSH) GetSecretStoreID() string
- func (m *SSH) GetTags() Tags
- func (m *SSH) SetBindInterface(v string)
- func (m *SSH) SetEgressFilter(v string)
- func (m *SSH) SetName(v string)
- func (m *SSH) SetSecretStoreID(v string)
- func (m *SSH) SetTags(v Tags)
- type SSHCert
- func (m *SSHCert) GetBindInterface() string
- func (m *SSHCert) GetEgressFilter() string
- func (m *SSHCert) GetID() string
- func (m *SSHCert) GetName() string
- func (m *SSHCert) GetSecretStoreID() string
- func (m *SSHCert) GetTags() Tags
- func (m *SSHCert) SetBindInterface(v string)
- func (m *SSHCert) SetEgressFilter(v string)
- func (m *SSHCert) SetName(v string)
- func (m *SSHCert) SetSecretStoreID(v string)
- func (m *SSHCert) SetTags(v Tags)
- type SSHCustomerKey
- func (m *SSHCustomerKey) GetBindInterface() string
- func (m *SSHCustomerKey) GetEgressFilter() string
- func (m *SSHCustomerKey) GetID() string
- func (m *SSHCustomerKey) GetName() string
- func (m *SSHCustomerKey) GetSecretStoreID() string
- func (m *SSHCustomerKey) GetTags() Tags
- func (m *SSHCustomerKey) SetBindInterface(v string)
- func (m *SSHCustomerKey) SetEgressFilter(v string)
- func (m *SSHCustomerKey) SetName(v string)
- func (m *SSHCustomerKey) SetSecretStoreID(v string)
- func (m *SSHCustomerKey) SetTags(v Tags)
- type SSHPassword
- func (m *SSHPassword) GetBindInterface() string
- func (m *SSHPassword) GetEgressFilter() string
- func (m *SSHPassword) GetID() string
- func (m *SSHPassword) GetName() string
- func (m *SSHPassword) GetSecretStoreID() string
- func (m *SSHPassword) GetTags() Tags
- func (m *SSHPassword) SetBindInterface(v string)
- func (m *SSHPassword) SetEgressFilter(v string)
- func (m *SSHPassword) SetName(v string)
- func (m *SSHPassword) SetSecretStoreID(v string)
- func (m *SSHPassword) SetTags(v Tags)
- type SecretEngine
- type SecretEngineCreateRequest
- type SecretEngineCreateResponse
- type SecretEngineDeleteRequest
- type SecretEngineDeleteResponse
- type SecretEngineGetRequest
- type SecretEngineGetResponse
- type SecretEngineIterator
- type SecretEngineListRequest
- type SecretEngineListResponse
- type SecretEnginePasswordPolicy
- type SecretEnginePolicy
- type SecretEngineRotateRequest
- type SecretEngineRotateResponse
- type SecretEngineUpdateRequest
- type SecretEngineUpdateResponse
- type SecretEngines
- func (svc *SecretEngines) Create(ctx context.Context, secretEngine SecretEngine) (*SecretEngineCreateResponse, error)
- func (svc *SecretEngines) Delete(ctx context.Context, id string) (*SecretEngineDeleteResponse, error)
- func (svc *SecretEngines) GenerateKeys(ctx context.Context, secretEngineId string) (*GenerateKeysResponse, error)
- func (svc *SecretEngines) Get(ctx context.Context, id string) (*SecretEngineGetResponse, error)
- func (svc *SecretEngines) Healthcheck(ctx context.Context, secretEngineId string) (*HealthcheckResponse, error)
- func (svc *SecretEngines) List(ctx context.Context, filter string, args ...interface{}) (SecretEngineIterator, error)
- func (svc *SecretEngines) ListSecretStores(ctx context.Context, filter string, args ...interface{}) (SecretStoreIterator, error)
- func (svc *SecretEngines) Rotate(ctx context.Context, id string, passwordPolicy *SecretEnginePasswordPolicy) (*SecretEngineRotateResponse, error)
- func (svc *SecretEngines) Update(ctx context.Context, secretEngine SecretEngine) (*SecretEngineUpdateResponse, error)
- type SecretStore
- type SecretStoreCreateResponse
- type SecretStoreDeleteResponse
- type SecretStoreGetResponse
- type SecretStoreHealth
- type SecretStoreHealthIterator
- type SecretStoreHealthListResponse
- type SecretStoreHealthcheckResponse
- type SecretStoreHealths
- type SecretStoreHistory
- type SecretStoreHistoryIterator
- type SecretStoreIterator
- type SecretStoreUpdateResponse
- type SecretStores
- func (svc *SecretStores) Create(ctx context.Context, secretStore SecretStore) (*SecretStoreCreateResponse, error)
- func (svc *SecretStores) Delete(ctx context.Context, id string) (*SecretStoreDeleteResponse, error)
- func (svc *SecretStores) Get(ctx context.Context, id string) (*SecretStoreGetResponse, error)
- func (svc *SecretStores) List(ctx context.Context, filter string, args ...interface{}) (SecretStoreIterator, error)
- func (svc *SecretStores) Update(ctx context.Context, secretStore SecretStore) (*SecretStoreUpdateResponse, error)
- type SecretStoresHistory
- type Service
- type SingleStore
- func (m *SingleStore) GetBindInterface() string
- func (m *SingleStore) GetEgressFilter() string
- func (m *SingleStore) GetID() string
- func (m *SingleStore) GetName() string
- func (m *SingleStore) GetSecretStoreID() string
- func (m *SingleStore) GetTags() Tags
- func (m *SingleStore) SetBindInterface(v string)
- func (m *SingleStore) SetEgressFilter(v string)
- func (m *SingleStore) SetName(v string)
- func (m *SingleStore) SetSecretStoreID(v string)
- func (m *SingleStore) SetTags(v Tags)
- type SnapshotAccessRequests
- type SnapshotAccountAttachments
- type SnapshotAccountGrants
- type SnapshotAccountPermissions
- type SnapshotAccountResources
- type SnapshotAccounts
- type SnapshotAccountsGroups
- type SnapshotApprovalWorkflowApprovers
- type SnapshotApprovalWorkflowSteps
- type SnapshotApprovalWorkflows
- type SnapshotClient
- func (c *SnapshotClient) AccessRequests() SnapshotAccessRequests
- func (c *SnapshotClient) AccountAttachments() SnapshotAccountAttachments
- func (c *SnapshotClient) AccountGrants() SnapshotAccountGrants
- func (c *SnapshotClient) AccountPermissions() SnapshotAccountPermissions
- func (c *SnapshotClient) AccountResources() SnapshotAccountResources
- func (c *SnapshotClient) Accounts() SnapshotAccounts
- func (c *SnapshotClient) AccountsGroups() SnapshotAccountsGroups
- func (c *SnapshotClient) ApprovalWorkflowApprovers() SnapshotApprovalWorkflowApprovers
- func (c *SnapshotClient) ApprovalWorkflowSteps() SnapshotApprovalWorkflowSteps
- func (c *SnapshotClient) ApprovalWorkflows() SnapshotApprovalWorkflows
- func (c *SnapshotClient) DiscoveryConnectors() SnapshotDiscoveryConnectors
- func (c *SnapshotClient) GrantedAccountEntitlements() SnapshotGrantedAccountEntitlements
- func (c *SnapshotClient) GrantedResourceEntitlements() SnapshotGrantedResourceEntitlements
- func (c *SnapshotClient) GrantedRoleEntitlements() SnapshotGrantedRoleEntitlements
- func (c *SnapshotClient) Groups() SnapshotGroups
- func (c *SnapshotClient) GroupsRoles() SnapshotGroupsRoles
- func (c *SnapshotClient) IdentityAliases() SnapshotIdentityAliases
- func (c *SnapshotClient) IdentitySets() SnapshotIdentitySets
- func (c *SnapshotClient) Nodes() SnapshotNodes
- func (c *SnapshotClient) Policies() SnapshotPolicies
- func (c *SnapshotClient) ProxyClusterKeys() SnapshotProxyClusterKeys
- func (c *SnapshotClient) RemoteIdentities() SnapshotRemoteIdentities
- func (c *SnapshotClient) RemoteIdentityGroups() SnapshotRemoteIdentityGroups
- func (c *SnapshotClient) RequestableAccountEntitlements() SnapshotRequestableAccountEntitlements
- func (c *SnapshotClient) RequestableResourceEntitlements() SnapshotRequestableResourceEntitlements
- func (c *SnapshotClient) RequestableRoleEntitlements() SnapshotRequestableRoleEntitlements
- func (c *SnapshotClient) Resources() SnapshotResources
- func (c *SnapshotClient) RoleResources() SnapshotRoleResources
- func (c *SnapshotClient) Roles() SnapshotRoles
- func (c *SnapshotClient) SecretStores() SnapshotSecretStores
- func (c *SnapshotClient) WorkflowApprovers() SnapshotWorkflowApprovers
- func (c *SnapshotClient) WorkflowRoles() SnapshotWorkflowRoles
- func (c *SnapshotClient) Workflows() SnapshotWorkflows
- type SnapshotDiscoveryConnectors
- type SnapshotGrantedAccountEntitlements
- type SnapshotGrantedResourceEntitlements
- type SnapshotGrantedRoleEntitlements
- type SnapshotGroups
- type SnapshotGroupsRoles
- type SnapshotIdentityAliases
- type SnapshotIdentitySets
- type SnapshotNodes
- type SnapshotPolicies
- type SnapshotProxyClusterKeys
- type SnapshotRemoteIdentities
- type SnapshotRemoteIdentityGroups
- type SnapshotRequestableAccountEntitlements
- type SnapshotRequestableResourceEntitlements
- type SnapshotRequestableRoleEntitlements
- type SnapshotResources
- type SnapshotRoleResources
- type SnapshotRoles
- type SnapshotSecretStores
- type SnapshotWorkflowApprovers
- type SnapshotWorkflowRoles
- type SnapshotWorkflows
- type Snowflake
- func (m *Snowflake) GetBindInterface() string
- func (m *Snowflake) GetEgressFilter() string
- func (m *Snowflake) GetID() string
- func (m *Snowflake) GetName() string
- func (m *Snowflake) GetSecretStoreID() string
- func (m *Snowflake) GetTags() Tags
- func (m *Snowflake) SetBindInterface(v string)
- func (m *Snowflake) SetEgressFilter(v string)
- func (m *Snowflake) SetName(v string)
- func (m *Snowflake) SetSecretStoreID(v string)
- func (m *Snowflake) SetTags(v Tags)
- type Snowsight
- func (m *Snowsight) GetBindInterface() string
- func (m *Snowsight) GetEgressFilter() string
- func (m *Snowsight) GetID() string
- func (m *Snowsight) GetName() string
- func (m *Snowsight) GetSecretStoreID() string
- func (m *Snowsight) GetTags() Tags
- func (m *Snowsight) SetBindInterface(v string)
- func (m *Snowsight) SetEgressFilter(v string)
- func (m *Snowsight) SetName(v string)
- func (m *Snowsight) SetSecretStoreID(v string)
- func (m *Snowsight) SetTags(v Tags)
- type SqlserverEngine
- func (m *SqlserverEngine) GetID() string
- func (m *SqlserverEngine) GetKeyRotationIntervalDays() int32
- func (m *SqlserverEngine) GetName() string
- func (m *SqlserverEngine) GetNodeSelector() string
- func (m *SqlserverEngine) GetPublicKey() []byte
- func (m *SqlserverEngine) GetSecretStoreID() string
- func (m *SqlserverEngine) GetSecretStoreRootPath() string
- func (m *SqlserverEngine) GetTags() Tags
- func (m *SqlserverEngine) SetKeyRotationIntervalDays(v int32)
- func (m *SqlserverEngine) SetName(v string)
- func (m *SqlserverEngine) SetNodeSelector(v string)
- func (m *SqlserverEngine) SetPublicKey(v []byte)
- func (m *SqlserverEngine) SetSecretStoreID(v string)
- func (m *SqlserverEngine) SetSecretStoreRootPath(v string)
- func (m *SqlserverEngine) SetTags(v Tags)
- type StrongVaultStore
- type Sybase
- func (m *Sybase) GetBindInterface() string
- func (m *Sybase) GetEgressFilter() string
- func (m *Sybase) GetID() string
- func (m *Sybase) GetName() string
- func (m *Sybase) GetSecretStoreID() string
- func (m *Sybase) GetTags() Tags
- func (m *Sybase) SetBindInterface(v string)
- func (m *Sybase) SetEgressFilter(v string)
- func (m *Sybase) SetName(v string)
- func (m *Sybase) SetSecretStoreID(v string)
- func (m *Sybase) SetTags(v Tags)
- type SybaseIQ
- func (m *SybaseIQ) GetBindInterface() string
- func (m *SybaseIQ) GetEgressFilter() string
- func (m *SybaseIQ) GetID() string
- func (m *SybaseIQ) GetName() string
- func (m *SybaseIQ) GetSecretStoreID() string
- func (m *SybaseIQ) GetTags() Tags
- func (m *SybaseIQ) SetBindInterface(v string)
- func (m *SybaseIQ) SetEgressFilter(v string)
- func (m *SybaseIQ) SetName(v string)
- func (m *SybaseIQ) SetSecretStoreID(v string)
- func (m *SybaseIQ) SetTags(v Tags)
- type Tag
- type TagIterator
- type Tags
- type Teradata
- func (m *Teradata) GetBindInterface() string
- func (m *Teradata) GetEgressFilter() string
- func (m *Teradata) GetID() string
- func (m *Teradata) GetName() string
- func (m *Teradata) GetSecretStoreID() string
- func (m *Teradata) GetTags() Tags
- func (m *Teradata) SetBindInterface(v string)
- func (m *Teradata) SetEgressFilter(v string)
- func (m *Teradata) SetName(v string)
- func (m *Teradata) SetSecretStoreID(v string)
- func (m *Teradata) SetTags(v Tags)
- type Token
- type Trino
- func (m *Trino) GetBindInterface() string
- func (m *Trino) GetEgressFilter() string
- func (m *Trino) GetID() string
- func (m *Trino) GetName() string
- func (m *Trino) GetSecretStoreID() string
- func (m *Trino) GetTags() Tags
- func (m *Trino) SetBindInterface(v string)
- func (m *Trino) SetEgressFilter(v string)
- func (m *Trino) SetName(v string)
- func (m *Trino) SetSecretStoreID(v string)
- func (m *Trino) SetTags(v Tags)
- type UnknownError
- type UpdateResponseMetadata
- type User
- type VaultAWSEC2CertSSHStore
- type VaultAWSEC2CertX509Store
- type VaultAWSEC2Store
- type VaultAWSIAMCertSSHStore
- type VaultAWSIAMCertX509Store
- type VaultAWSIAMStore
- type VaultAppRoleCertSSHStore
- type VaultAppRoleCertX509Store
- type VaultAppRoleStore
- type VaultTLSCertSSHStore
- type VaultTLSCertX509Store
- type VaultTLSStore
- type VaultTokenCertSSHStore
- type VaultTokenCertX509Store
- type VaultTokenStore
- type Vertica
- func (m *Vertica) GetBindInterface() string
- func (m *Vertica) GetEgressFilter() string
- func (m *Vertica) GetID() string
- func (m *Vertica) GetName() string
- func (m *Vertica) GetSecretStoreID() string
- func (m *Vertica) GetTags() Tags
- func (m *Vertica) SetBindInterface(v string)
- func (m *Vertica) SetEgressFilter(v string)
- func (m *Vertica) SetName(v string)
- func (m *Vertica) SetSecretStoreID(v string)
- func (m *Vertica) SetTags(v Tags)
- type Workflow
- type WorkflowApprover
- type WorkflowApproverGetResponse
- type WorkflowApproverHistory
- type WorkflowApproverHistoryIterator
- type WorkflowApproverIterator
- type WorkflowApprovers
- func (svc *WorkflowApprovers) Create(ctx context.Context, workflowApprover *WorkflowApprover) (*WorkflowApproversCreateResponse, error)
- func (svc *WorkflowApprovers) Delete(ctx context.Context, id string) (*WorkflowApproversDeleteResponse, error)
- func (svc *WorkflowApprovers) Get(ctx context.Context, id string) (*WorkflowApproverGetResponse, error)
- func (svc *WorkflowApprovers) List(ctx context.Context, filter string, args ...interface{}) (WorkflowApproverIterator, error)
- type WorkflowApproversCreateRequest
- type WorkflowApproversCreateResponse
- type WorkflowApproversDeleteRequest
- type WorkflowApproversDeleteResponse
- type WorkflowApproversHistory
- type WorkflowApproversListRequest
- type WorkflowApproversListResponse
- type WorkflowCreateResponse
- type WorkflowDeleteResponse
- type WorkflowGetResponse
- type WorkflowHistory
- type WorkflowHistoryIterator
- type WorkflowIterator
- type WorkflowListResponse
- type WorkflowRole
- type WorkflowRoleGetResponse
- type WorkflowRoleHistory
- type WorkflowRoleHistoryIterator
- type WorkflowRoleIterator
- type WorkflowRoles
- func (svc *WorkflowRoles) Create(ctx context.Context, workflowRole *WorkflowRole) (*WorkflowRolesCreateResponse, error)
- func (svc *WorkflowRoles) Delete(ctx context.Context, id string) (*WorkflowRolesDeleteResponse, error)
- func (svc *WorkflowRoles) Get(ctx context.Context, id string) (*WorkflowRoleGetResponse, error)
- func (svc *WorkflowRoles) List(ctx context.Context, filter string, args ...interface{}) (WorkflowRoleIterator, error)
- type WorkflowRolesCreateRequest
- type WorkflowRolesCreateResponse
- type WorkflowRolesDeleteRequest
- type WorkflowRolesDeleteResponse
- type WorkflowRolesHistory
- type WorkflowRolesListRequest
- type WorkflowRolesListResponse
- type WorkflowUpdateResponse
- type Workflows
- func (svc *Workflows) Create(ctx context.Context, workflow *Workflow) (*WorkflowCreateResponse, error)
- func (svc *Workflows) Delete(ctx context.Context, id string) (*WorkflowDeleteResponse, error)
- func (svc *Workflows) Get(ctx context.Context, id string) (*WorkflowGetResponse, error)
- func (svc *Workflows) List(ctx context.Context, filter string, args ...interface{}) (WorkflowIterator, error)
- func (svc *Workflows) Update(ctx context.Context, workflow *Workflow) (*WorkflowUpdateResponse, error)
- type WorkflowsHistory
Constants ¶
const ( PermissionLevelRootAdmin = "root-admin" PermissionLevelAdmin = "admin" PermissionLevelDatabaseAdmin = "database-admin" PermissionLevelDatabaseOperator = "database-operator" PermissionLevelTeamLeader = "multi-team-leader" PermissionLevelUser = "user" PermissionLevelAuditor = "auditor" // Deprecated: Use permissions.CheckNode() PermissionLevelRelay = "relay" PermissionLevelAdminToken = "admin-token" PermissionLevelSCIMToken = "scim-token" PermissionLevelServiceNowToken = "servicenow-token" PermissionLevelService = "service" PermissionLevelSuspended = "suspended" PermissionLevelEmpty = "" )
Permission Levels, shared by all entities capable of making authenticated requests against StrongDM.
const ( NodeStateNew = "new" NodeStateVerifyingRestart = "verifying_restart" NodeStateAwaitingRestart = "awaiting_restart" NodeStateRestarting = "restarting" NodeStateStarted = "started" NodeStateStopped = "stopped" NodeStateDead = "dead" )
Node Lifecycle States, defining whether a node was last reported online, offline, restarting, etc.
const ( ProviderNone = "" ProviderOkta = "okta" ProviderSailPoint = "sailpoint" ProviderAzure = "azure" ProviderGeneric = "generic" ProviderOneLogin = "onelogin" ProviderGoogle = "google" )
Providers responsible for managing roles and users. None, or an empty string, implies the user is managed by strongDM. Deprecated: Please use SCIMProvider instead.
const ( SCIMProviderNone = "" SCIMProviderOkta = "okta" SCIMProviderSailPoint = "sailpoint" SCIMProviderAzure = "azure" SCIMProviderGeneric = "generic" SCIMProviderOneLogin = "onelogin" SCIMProviderGoogle = "google" )
Providers responsible for managing roles and users. None, or an empty string, implies the user is managed by strongDM.
const ( AuthProviderAzure = "azure" AuthProviderBitium = "bitium" AuthProviderGoogle = "google" AuthProviderOkta = "okta" AuthProviderStrongDM = "strongdm" AuthProviderActiveDirectory = "active directory" AuthProviderGenericOIDC = "generic oidc" AuthProviderOneLoginOIDC = "oneloginv2" AuthProviderKeycloak = "keycloak" AuthProviderShibboleth = "shibboleth" AuthProviderAuth0 = "auth0" AuthProviderWorkspaceOne = "workspace one" AuthProviderOneLoginSAML = "onelogin-saml" AuthProviderGenericSAML = "generic-saml" AuthProviderPingIDSAML = "ping-identity-saml" AuthProviderPingIDOIDC = "ping-identity-oidc" )
Providers responsible for SSO authentication.
const ( MFAProviderNone = "" MFAProviderDuo = "duo" MFAProviderTOTP = "totp" MFAProviderOkta = "okta" MFAProviderRSA = "rsa" )
Providers responsible for multi-factor authentication
const ( ActivityEntityTypeUser = "user" ActivityEntityTypeRole = "role" ActivityEntityTypeLegacyCompositeRole = "composite_role" ActivityEntityTypeDatasource = "datasource" ActivityEntityTypeOrganization = "organization" ActivityEntityTypeInstallation = "installation" ActivityEntityTypeSecretStore = "secretstore" ActivityEntityTypeSecretEngine = "secretengine" ActivityEntityTypeRemoteIdentityGroup = "remote_identity_group" ActivityEntityTypeRemoteIdentity = "remote_identity" ActivityEntityTypeIdentitySet = "identity_set" ActivityEntityTypeIdentityAlias = "identity_alias" ActivityEntityTypeAccessRequest = "access_request" ActivityEntityTypeWorkflow = "workflow" ActivityEntityTypeApprovalFlow = "approval_flow" ActivityEntityTypeApprovalFlowStep = "approval_flow_step" ActivityEntityTypeApprovalFlowApprover = "approval_flow_approver" ActivityEntityTypeManagedSecret = "managed_secret" ActivityEntityTypeNode = "node" ActivityEntityTypePeeringGroup = "peering_group" ActivityEntityTypePeeringGroupNode = "peering_group_node" ActivityEntityTypePeeringGroupResource = "peering_group_resource" ActivityEntityTypePeeringGroupPeer = "peering_group_peer" ActivityEntityTypeOrgIntegration = "org_integration" ActivityEntityTypeCredential = "credential" ActivityEntityTypeUserOAuthToken = "user_oauth_token" ActivityEntityTypeCertificateAuthority = "certificate_authority" ActivityEntityTypePolicy = "policy" ActivityEntityTypeProxyClusterKey = "proxy_cluster_key" ActivityEntityTypeTrustDomain = "trust_domain" )
Activity Entities, all entity types that can be part of an activity.
const ( ActivityVerbUserAdded = "user added" ActivityVerbUserDeleted = "user deleted" ActivityVerbUserUpdated = "user updated" ActivityVerbUserSignup = "user signup" ActivityVerbUserTypeChanged = "user type changed" ActivityVerbUserPasswordChanged = "user password changed" ActivityVerbUserTemporaryAccessGranted = "user temporary access granted" ActivityVerbUserTemporaryAccessRevoked = "user temporary access revoked" ActivityVerbUserTemporaryAccessExpired = "user temporary access expired" ActivityVerbUserAddedToRole = "user added to role" ActivityVerbUserDeletedFromRole = "user deleted from role" ActivityVerbUserSuspended = "user suspended" ActivityVerbUserReinstated = "user reinstated" ActivityVerbUserLoggedIntoTheUI = "user logged into the Admin UI" ActivityVerbParentAdminLoggedIntoChildOrg = "parent admin logged into the child org" ActivityVerbUserLoggedIntoTheClient = "user logged into the local client" ActivityVerbServiceAccountCreated = "service account created" ActivityVerbServiceAccountExpired = "service account expired" ActivityVerbAdminTokenAdded = "admin token created" ActivityVerbAdminTokenDeleted = "admin token deleted" ActivityVerbAdminTokenExpired = "admin token expired" ActivityVerbAdminTokenRekeyed = "admin token rekeyed" ActivityVerbAdminTokenCloned = "admin token cloned" ActivityVerbAdminTokenSuspended = "admin token suspended" ActivityVerbAdminTokenReinstated = "admin token reinstated" ActivityVerbUserOAuthTokenUpserted = "user oauth token for resource upserted" ActivityVerbUserOAuthTokenDeleted = "user oauth token for resource deleted" ActivityVerbSSOUserLoggedIntoTheUI = "user logged into the Admin UI using SSO" ActivityVerbSSOUserLoggedIntoTheClient = "user logged into the local client using SSO" ActivityVerbUserLoggedOutFromTheClient = "user logged out from the local client" ActivityVerbUserLoggedOutFromTheUI = "user logged out from the Admin UI" ActivityVerbFailedLoginFromTheUI = "failed login attempt from the Admin UI" ActivityVerbFailedLoginFromTheClient = "failed login attempt from the local client" ActivityVerbMFADeniedFromTheUI = "MFA denied access for the Admin UI" ActivityVerbMFADeniedFromTheClient = "MFA denied access for the local client" ActivityVerbTooManyAttemptsLockout = "user account locked due to failed login attempts" ActivityVerbAttemptCounterReset = "failed login attempt counter reset" ActivityVerbSuspendedUserLoginAttemptFromTheClient = "attempt to login by a suspended user from the local client" ActivityVerbSuspendedUserLoginAttemptFromTheUI = "attempt to login by a suspended user from the Admin UI" ActivityVerbServiceAccountLoginAttemptFromTheUI = "attempted to login by a service account from the Admin UI" ActivityVerbSuspendedServiceAccountLoginAttemptFromTheUI = "attempted to login by a suspended service account from the Admin UI" ActivityVerbSuspendedServiceAccountLoginAttemptFromTheClient = "attempt to login by a suspended service account from the local client" ActivityVerbUserSetAPassword = "user set a password" ActivityVerbUserResetAPassword = "user reset their password" ActivityVerbUserChangedPassword = "user changed their password" ActivityVerbUserInvited = "user invited" ActivityVerbUserClickedInvitation = "user clicked on their invitation" ActivityVerbUserClickedPasswordReset = "user clicked on their password reset" ActivityVerbUserAllowPasswordLogin = "user allowed to login via password" ActivityVerbUserRequireSSOLogin = "user required to login via SSO" ActivityVerbUserProvisioningEnabled = "user provisioning enabled" ActivityVerbUserProvisioningDisabled = "user provisioning disabled" ActivityVerbAdminInitiatedPasswordReset = "admin initiated password reset" ActivityVerbRoleAdded = "role added" ActivityVerbRoleDeleted = "role deleted" ActivityVerbRoleUpdated = "role updated" ActivityVerbRoleAccessRulesUpdated = "access rules updated" ActivityVerbRoleAccessRulesCreated = "access rules created" ActivityVerbRoleAccessRulesDeleted = "access rules deleted" ActivityVerbRoleProvisioningEnabled = "role provisioning enabled" ActivityVerbRoleProvisioningDisabled = "role provisioning disabled" ActivityVerbDatasourceAdded = "datasource added" ActivityVerbDatasourceCloned = "datasource cloned" ActivityVerbDatasourceDeleted = "datasource deleted" ActivityVerbDatasourceUpdated = "datasource updated" ActivityVerbDatasourcePortOverride = "datasource connection port overriden" ActivityVerbMultipleDatasourcePortOverride = "multiple datasource ports overriden" ActivityVerbServerAdded = "server added" ActivityVerbServerCloned = "server cloned" ActivityVerbServerDeleted = "server deleted" ActivityVerbServerUpdated = "server updated" ActivityVerbServerPortOverride = "server connection port overriden" ActivityVerbMultipleServerPortOverride = "multiple server ports overriden" ActivityVerbClusterAdded = "cluster added" ActivityVerbClusterCloned = "cluster cloned" ActivityVerbClusterDeleted = "cluster deleted" ActivityVerbClusterUpdated = "cluster updated" ActivityVerbClusterPortOverride = "cluster connection port overriden" ActivityVerbMultipleClusterPortOverride = "multiple cluster ports overriden" ActivityVerbCloudAdded = "cloud added" ActivityVerbCloudCloned = "cloud cloned" ActivityVerbCloudDeleted = "cloud deleted" ActivityVerbCloudUpdated = "cloud updated" ActivityVerbWebsiteAdded = "website added" ActivityVerbWebsiteCloned = "website cloned" ActivityVerbWebsiteDeleted = "website deleted" ActivityVerbWebsiteUpdated = "website updated" ActivityVerbInstallationCreated = "installation created" ActivityVerbRelayInstallationCreated = "installation created for relay" ActivityVerbInstallationApproved = "installation approved" ActivityVerbInstallationRevoked = "installation revoked" ActivityVerbRelayCreated = "relay created" ActivityVerbRelayUpdatedName = "relay name updated" ActivityVerbRelayDeleted = "relay deleted" ActivityVerbOrgPublicKeyUpdated = "public key updated" ActivityVerbOrgDiscardReplaysUpdated = "discard replays updated" ActivityVerbOrgEnforcePortOverridesUpdated = "port override enforcement updated" ActivityVerbOrgServiceAutoConnectUpdated = "service account auto-connect updated" ActivityVerbOrgSelfRegistrationActivated = "self-registration activated" ActivityVerbOrgSelfRegistrationDeactivated = "self-registration deactivated" ActivityVerbOrgNameUpdated = "organization name updated" ActivityVerbOrgSettingUpdated = "organization setting updated" ActivityVerbOrgLogConfigUpdated = "organization logging configuration updated" ActivityVerbOrgLogSyncSettingUpdated = "organization log stream setting updated" ActivityVerbOrgWorkflowSettingUpdated = "organization workflow setting updated" ActivityVerbOrgCreated = "organization created" ActivityVerbOrgSCIMProvisioningUpdated = "SCIM provider set" ActivityVerbOrgSCIMProvisioningDeleted = "SCIM provider deleted" ActivityVerbOrgCustomProvisioningUpdated = "Provisioning provider set" ActivityVerbOrgCustomProvisioningDeleted = "Provisioning provider deleted" ActivityVerbChildOrgAdminInvited = "child organization admin invited" ActivityVerbServiceAccountRekeyed = "service account rekeyed" ActivityVerbSCIMTokenAdded = "SCIM token created" ActivityVerbSCIMTokenDeleted = "SCIM token deleted" ActivityVerbSCIMTokenRekeyed = "SCIM token rekeyed" ActivityVerbAPIKeyDeleted = "API key deleted" ActivityVerbOrgSSHCertificateAuthorityRotated = "organization SSH certificate authority rotated" ActivityVerbOrgSSHAllowPortForwarding = "allowed SSH port forwarding" ActivityVerbOrgSSHDisallowPortForwarding = "disallowed SSH port forwarding" ActivityVerbOrgAddChild = "add child organization" ActivityVerbOrgRemoveChild = "remove child organization" ActivityVerbOrgExtendTrial = "trial extended" ActivityVerbSecretStoreAdded = "secret store added" ActivityVerbSecretStoreUpdated = "secret store updated" ActivityVerbSecretStoreDeleted = "secret store deleted" ActivityVerbSecretEngineAdded = "secret engine added" ActivityVerbSecretEngineUpdated = "secret engine updated" ActivityVerbSecretEngineRotated = "secret engine's credentials updated" ActivityVerbSecretEngineDeleted = "secret engine deleted" ActivityVerbTrustDomainCreated = "trust domain created" ActivityVerbTrustDomainUpdated = "trust domain updated" ActivityVerbTrustDomainDeleted = "trust domain deleted" ActivityVerbRemoteIdentityGroupCreated = "remote identity group created" ActivityVerbRemoteIdentityGroupUpdated = "remote identity group updated" ActivityVerbRemoteIdentityGroupDeleted = "remote identity group deleted" ActivityVerbIdentitySetCreated = "identity set created" ActivityVerbIdentitySetUpdated = "identity set updated" ActivityVerbIdentitySetDeleted = "identity set deleted" ActivityVerbIdentitySetProvisioningEnabled = "identity set provisioning enabled" ActivityVerbIdentitySetProvisioningDisabled = "identity set provisioning disabled" ActivityVerbRemoteIdentityCreated = "remote identity created" ActivityVerbRemoteIdentityUpdated = "remote identity updated" ActivityVerbRemoteIdentityDeleted = "remote identity deleted" ActivityVerbIdentityAliasCreated = "identity alias created" ActivityVerbIdentityAliasUpdated = "identity alias updated" ActivityVerbIdentityAliasDeleted = "identity alias deleted" ActivityVerbIdentityAliasProvisioningEnabled = "identity alias provisioning enabled" ActivityVerbIdentityAliasProvisioningDisabled = "identity alias provisioning disabled" ActivityVerbAccessRequestedToResource = "access requested to resource" ActivityVerbAccessRequestToResourceApprovalAdded = "access request to resource approval added" ActivityVerbAccessRequestToResourceStepSkipped = "access request to resource step skipped" ActivityVerbAccessRequestToResourceCanceled = "access request to resource canceled" ActivityVerbAccessRequestToResourceDenied = "access request to resource denied" ActivityVerbAccessRequestToResourceTimedOut = "access request to resource timed out" ActivityVerbAccessRequestToResourceGranted = "access request to resource granted" ActivityVerbAccessRequestToResourceGrantedAutomatically = "access request to resource granted automatically" ActivityVerbAccessRequestToResourceApprovedViaServiceNow = "access request to resource approved via ServiceNow" ActivityVerbAccessRequestToResourceApprovedViaJira = "access request to resource approved via Jira" ActivityVerbWorkflowDeleted = "workflow deleted" ActivityVerbWorkflowAdded = "workflow added" ActivityVerbDeprecatedWorkflowResourceAssigned = "resource assigned to workflow" ActivityVerbDeprecatedWorkflowResourceUnassigned = "resource unassigned from workflow" ActivityVerbDeprecatedWorkflowResourceMultipleAssigned = "multiple resources assigned to workflow" ActivityVerbDeprecatedWorkflowResourceMultipleUnassigned = "multiple resources unassigned from workflow" ActivityVerbDeprecatedWorkflowApproversUpdated = "workflow approvers updated" ActivityVerbDeprecatedWorkflowAutoGrantUpdated = "workflow auto grant updated" ActivityVerbDeprecatedWorkflowApprovalCriteriaUpdated = "workflow approval criteria updated" ActivityVerbWorkflowRolesUpdated = "workflow roles updated" ActivityVerbWorkflowNameUpdated = "workflow name updated" ActivityVerbWorkflowDescriptionUpdated = "workflow description updated" ActivityVerbWorkflowRequiresReasonUpdated = "workflow requires reason updated" ActivityVerbWorkflowSettingsUpdated = "workflow settings updated" ActivityVerbWorkflowAccessRulesUpdated = "workflow access rules updated" ActivityVerbWorkflowAccessRulesDeleted = "workflow access rules deleted" ActivityVerbWorkflowAccessRulesCreated = "workflow access rules created" ActivityVerbWorkflowEnabled = "workflow enabled" ActivityVerbWorkflowDisabled = "workflow disabled" ActivityVerbApprovalFlowAdded = "approval workflow added" ActivityVerbApprovalFlowDeleted = "approval workflow deleted" ActivityVerbApprovalFlowUpdated = "approval workflow updated" ActivityVerbApprovalFlowStepAdded = "approval workflow step added" ActivityVerbApprovalFlowStepDeleted = "approval workflow step deleted" ActivityVerbApprovalFlowStepUpdated = "approval workflow step updated" ActivityVerbApprovalFlowApproverAdded = "approval workflow approver added" ActivityVerbApprovalFlowApproverDeleted = "approval workflow approver deleted" ActivityVerbOrgVNMSubnetUpdated = "organization VNM subnet updated" ActivityVerbOrgVNMResourcesAllocated = "organization resources allocated within VNM subnet" ActivityVerbDeprecatedOrgActivateDeviceApproval = "activate device approval" ActivityVerbDeprecatedOrgDeactivateDeviceApproval = "deactivate device approval" ActivityVerbEmulationMigrationCompleted = "emulation migration completed" ActivityVerbAccessOverhaulMigrationCompleted = "access overhaul migration completed" ActivityVerbActivatedSSHPortForwardingAllServer = "enabled SSH port forwarding on all servers" ActivityVerbTOTPEnrollmentAdded = "user enrolled a totp device" ActivityVerbTOTPEnrollmentDeleted = "user reset their totp enrollment" ActivityVerbSuspendedUserEnrollAttemptFromTheUI = "attempt to enroll by a suspended user from the Admin UI" ActivityVerbResourceLocked = "user locked a resource" ActivityVerbResourceLockExtended = "user extended a resource lock" ActivityVerbResourceUnlocked = "user unlocked a resource" ActivityVerbResourceForceUnlocked = "admin force-unlocked a resource" ActivityVerbResourceLockRejected = "user lock rejected for a resource" ActivityVerbManagedSecretLocked = "user locked a secret" ActivityVerbManagedSecretUnlocked = "user unlocked a secret" ActivityVerbManagedSecretForceUnlocked = "admin force-unlocked a secret" ActivityVerbManagedSecretLockExtended = "user extended a secret lock" ActivityVerbManagedSecretLockRejected = "user lock rejected for a secret" ActivityVerbConcurrentAuthenticationRevokedPerOrgSetting = "concurrent authentications revoked per organization settings" ActivityVerbPeeringGroupToggled = "peering group toggled" ActivityVerbPeeringGroupCreated = "peering group created" ActivityVerbPeeringGroupDeleted = "peering group deleted" ActivityVerbPeeringGroupLinked = "peering groups linked" ActivityVerbPeeringGroupUnlinked = "peering groups unlinked" ActivityVerbPeeringGroupAttached = "entity attached to peering group" ActivityVerbPeeringGroupDetached = "entity detached from peering group" ActivityVerbOrgIntegrationInstalled = "org integration installed" ActivityVerbUserIntegrationAuthorized = "user authorized integration" ActivityVerbOrgIntegrationUninstalled = "org integration uninstalled" ActivityVerbServiceNowTokenAdded = "ServiceNow token created" ActivityVerbServiceNowTokenDeleted = "ServiceNow token deleted" ActivityVerbCredentialCreated = "credential created" ActivityVerbCredentialDeleted = "credential deleted" ActivityVerbCertificateAuthorityUpdated = "certificate authority updated" ActivityVerbPolicyCreated = "policy created" ActivityVerbPolicyUpdated = "policy updated" ActivityVerbPolicyDeleted = "policy deleted" ActivityVerbAuthenticationRevokedByPolicy = "authentication revoked by policy" ActivityVerbProxyClusterKeyCreated = "proxy cluster key created" ActivityVerbProxyClusterKeyDeleted = "proxy cluster key deleted" ActivityVerbManagedSecretCreated = "managed secret created" ActivityVerbManagedSecretUpdated = "managed secret updated" ActivityVerbManagedSecretExpirationTimeUpdated = "managed secret expiration time updated" ActivityVerbManagedSecretConfigUpdated = "managed secret config updated" ActivityVerbManagedSecretDeleted = "managed secret deleted" )
Activity Verbs, describe which kind of activity has taken place.
const ( PermissionAccessRequestList = "accessrequest:list" PermissionAccessRequestRequester = "accessrequest:requester" PermissionAccountGroupRead = "accountgroup:read" PermissionAccountGroupWrite = "accountgroup:write" PermissionAdminRoleRead = "adminrole:read" PermissionAdminRoleWrite = "adminrole:write" PermissionApprovalFlowEdit = "approvalflow:edit" PermissionApprovalFlowList = "approvalflow:list" PermissionBillingRead = "billing:read" PermissionCredentialRead = "credential:read" PermissionCredentialWrite = "credential:write" PermissionDatasourceCreate = "datasource:create" PermissionDatasourceDelete = "datasource:delete" PermissionDatasourceHealthcheck = "datasource:healthcheck" PermissionDatasourceList = "datasource:list" PermissionDatasourceUpdate = "datasource:update" PermissionDeprecatedDatasourceGrant = "datasource:grant" PermissionDiscoveryConnectorRead = "discoveryconnector:read" PermissionDiscoveryConnectorWrite = "discoveryconnector:write" PermissionEntitlementsRead = "entitlements:read" PermissionGrantRead = "grant:read" PermissionGrantWrite = "grant:write" PermissionGroupRead = "group:read" PermissionGroupRoleRead = "grouprole:read" PermissionGroupRoleWrite = "grouprole:write" PermissionGroupWrite = "group:write" PermissionInstallationBless = "installation:bless" PermissionInstallationCreate = "installation:create" PermissionInstallationRevoke = "installation:revoke" PermissionManagedSecretCreate = "managedsecret:create" PermissionManagedSecretDelete = "managedsecret:delete" PermissionManagedSecretList = "managedsecret:list" PermissionManagedSecretRead = "managedsecret:read" PermissionManagedSecretUpdate = "managedsecret:update" PermissionOrgAuditAccessRequests = "audit:accessrequests" PermissionOrgAuditAccountGrants = "audit:accountgrants" PermissionOrgAuditActivities = "audit:activities" PermissionOrgAuditApprovalFlows = "audit:approvalflows" PermissionOrgAuditDatasources = "audit:datasources" PermissionOrgAuditGroups = "audit:groups" PermissionOrgAuditNodes = "audit:nodes" PermissionOrgAuditOrg = "audit:organization" PermissionOrgAuditPermissions = "audit:permissions" PermissionOrgAuditPolicies = "audit:policies" PermissionOrgAuditQueries = "audit:queries" PermissionOrgAuditRemoteIdentities = "audit:remoteidentities" PermissionOrgAuditRemoteIdentityGroups = "audit:remoteidentitygroups" PermissionOrgAuditRoles = "audit:roles" PermissionOrgAuditSSH = "audit:ssh" PermissionOrgAuditSecretEngines = "audit:secretengines" PermissionOrgAuditSecretStores = "audit:secretstores" PermissionOrgAuditUsers = "audit:users" PermissionOrgAuditWorkflows = "audit:workflows" PermissionOrgCreateChildOrganization = "organization:create_child_organization" PermissionOrgDeploymentDoctor = "organization:deployment_doctor" PermissionOrgEditSettings = "organization:edit_settings" PermissionOrgListChildren = "organization:list_children" PermissionOrgViewSettings = "organization:view_settings" PermissionPolicyRead = "policy:read" PermissionPolicyWrite = "policy:write" PermissionRelayCreate = "relay:create" PermissionRelayList = "relay:list" PermissionRemoteIdentityGroupRead = "remoteidentitygroup:read" PermissionRemoteIdentityGroupWrite = "remoteidentitygroup:write" PermissionRemoteIdentityRead = "remoteidentity:read" PermissionRemoteIdentityWrite = "remoteidentity:write" PermissionReportRead = "report:read" PermissionResourceLockDelete = "resourcelock:delete" PermissionResourceLockList = "resourcelock:list" PermissionRoleCreate = "role:create" PermissionRoleDelete = "role:delete" PermissionRoleList = "role:list" PermissionRoleUpdate = "role:update" PermissionSecretEngineCreate = "secretengine:create" PermissionSecretEngineDelete = "secretengine:delete" PermissionSecretEngineList = "secretengine:list" PermissionSecretEngineStatus = "secretengine:status" PermissionSecretEngineUpdate = "secretengine:update" PermissionSecretStoreCreate = "secretstore:create" PermissionSecretStoreDelete = "secretstore:delete" PermissionSecretStoreList = "secretstore:list" PermissionSecretStoreStatus = "secretstore:status" PermissionSecretStoreUpdate = "secretstore:update" PermissionTestingFetchQueries = "testing:queries:get" PermissionTestingNoPermissions = "testing:noperms" PermissionTestingOrgCreate = "testing:organization:create" PermissionTestingOrgDelete = "testing:organization:delete" PermissionUserAssign = "user:assign" PermissionUserCreate = "user:create" PermissionUserCreateAdminToken = "user:create_admin_token" PermissionUserCreateServiceAccount = "user:create_service_account" PermissionUserDelete = "user:delete" PermissionUserInitiatePasswordReset = "user:initiate_password_reset" PermissionUserList = "user:list" PermissionUserSetPassword = "user:set_password" PermissionUserSetPermissionLevel = "user:set_strong_role" PermissionUserSuspend = "user:suspend" PermissionUserUpdate = "user:update" PermissionUserUpdateAdmin = "user:update_admin" PermissionWorkflowEdit = "workflow:edit" PermissionWorkflowList = "workflow:list" )
Permissions, all permissions that may be granted to an account.
const ( QueryCategoryKubernetes = "k8s" QueryCategoryDatasources = "queries" QueryCategoryRDP = "rdp" QueryCategorySSH = "ssh" QueryCategoryWeb = "web" QueryCategoryCloud = "cloud" QueryCategoryAll = "all" )
Query Categories, all the categories of resource against which queries are logged.
const ( LogRemoteEncoderStrongDM = "strongdm" LogRemoteEncoderPubKey = "pubkey" LogRemoteEncoderHash = "hash" )
LogRemoteEncoder defines the encryption encoder for the queries are stored in the API.
const ( LogLocalStorageStdout = "stdout" LogLocalStorageFile = "file" LogLocalStorageTCP = "tcp" LogLocalStorageSocket = "socket" LogLocalStorageSyslog = "syslog" LogLocalStorageNone = "none" )
LogLocalStorage defines how queries are stored locally.
const ( LogLocalEncoderPlaintext = "plaintext" LogLocalEncoderPubKey = "pubkey" )
LogLocalEncoder defines the encryption encoder for queries are stored locally in the relay.
const ( LogLocalFormatCSV = "csv" LogLocalFormatJSON = "json" )
LogLocalFormat defines the format the queries are stored locally in the relay.
const ( OrgKindSolo = "solo" OrgKindRoot = "root" OrgKindChild = "child" )
OrgKind defines the types of organizations that may exist.
const ( SSHKeyTypeRSA_2048 = "rsa-2048" SSHKeyTypeRSA_4096 = "rsa-4096" SSHKeyTypeECDSA_256 = "ecdsa-256" SSHKeyTypeECDSA_384 = "ecdsa-384" SSHKeyTypeECDSA_521 = "ecdsa-521" SSHKeyTypeED25519 = "ed25519" )
KeyType defines the supported SSH key types
const ( CaptureTypeShell = "shell" CaptureTypeScpUpload = "scp-upload" CaptureTypeScpDownload = "scp-download" CaptureTypeCommand = "command" CaptureTypeRDPBasic = "rdp-basic" CaptureTypeRDPEnhanced = "rdp-enhanced" CaptureTypeK8sExec = "k8s-exec" CaptureTypeK8sExecTTY = "k8s-execTTY" CaptureTypeK8sPortForward = "k8s-portForward" CaptureTypeK8sCPUpload = "k8s-cp-upload" CaptureTypeK8sCPDownload = "k8s-cp-download" CaptureTypeK8sDescribe = "k8s-describe" CaptureTypeK8sGet = "k8s-get" CaptureTypeK8sDelete = "k8s-delete" CaptureTypeK8sGeneric = "k8s-generic" CaptureTypeK8sApply = "k8s-apply" CaptureTypeSSHPortForward = "ssh-portForward" )
CaptureType designates what type of SSH/RDP/K8s capture we have.
const ( DeviceTrustProviderNone = "" DeviceTrustProviderSentinelOne = "sentinelone" DeviceTrustProviderCrowdStrike = "crowdstrike" DeviceTrustProviderMicrosoftDefender = "microsoftdefender" DeviceTrustProviderDuo = "duo" )
Providers responsible for device trust enforcement
const ( APIHostUS = "app.strongdm.com:443" APIHostUK = "app.uk.strongdm.com:443" APIHostEU = "app.eu.strongdm.com:443" )
APIHost defines the API host for various control planes.
const ( ApproverReferenceNone = "" ApproverReferenceManagerOfRequester = "manager-of-requester" ApproverReferenceManagerOfManagerOfRequester = "manager-of-manager-of-requester" )
ApproverReference defines the type for approver references.
const ( ResourceIPAllocationModeUnset = "" ResourceIPAllocationModeDefault = "default" ResourceIPAllocationModeLoopback = "loopback" ResourceIPAllocationModeVNM = "vnm" )
ResourceIPAllocationMode defines how to allocate IP addresses on resource create and update.
Variables ¶
var AllAPIHost = []string{ APIHostUS, APIHostUK, APIHostEU, }
var AllActivityEntityType = []string{ ActivityEntityTypeUser, ActivityEntityTypeRole, ActivityEntityTypeLegacyCompositeRole, ActivityEntityTypeDatasource, ActivityEntityTypeOrganization, ActivityEntityTypeInstallation, ActivityEntityTypeSecretStore, ActivityEntityTypeSecretEngine, ActivityEntityTypeRemoteIdentityGroup, ActivityEntityTypeRemoteIdentity, ActivityEntityTypeIdentitySet, ActivityEntityTypeIdentityAlias, ActivityEntityTypeAccessRequest, ActivityEntityTypeWorkflow, ActivityEntityTypeApprovalFlow, ActivityEntityTypeApprovalFlowStep, ActivityEntityTypeApprovalFlowApprover, ActivityEntityTypeManagedSecret, ActivityEntityTypeNode, ActivityEntityTypePeeringGroup, ActivityEntityTypePeeringGroupNode, ActivityEntityTypePeeringGroupResource, ActivityEntityTypePeeringGroupPeer, ActivityEntityTypeOrgIntegration, ActivityEntityTypeCredential, ActivityEntityTypeUserOAuthToken, ActivityEntityTypeCertificateAuthority, ActivityEntityTypePolicy, ActivityEntityTypeProxyClusterKey, ActivityEntityTypeTrustDomain, }
var AllActivityVerb = []string{}/* 233 elements not displayed */
var AllApproverReference = []string{ ApproverReferenceNone, ApproverReferenceManagerOfRequester, ApproverReferenceManagerOfManagerOfRequester, }
var AllAuthProvider = []string{ AuthProviderAzure, AuthProviderBitium, AuthProviderGoogle, AuthProviderOkta, AuthProviderStrongDM, AuthProviderActiveDirectory, AuthProviderGenericOIDC, AuthProviderOneLoginOIDC, AuthProviderKeycloak, AuthProviderShibboleth, AuthProviderAuth0, AuthProviderWorkspaceOne, AuthProviderOneLoginSAML, AuthProviderGenericSAML, AuthProviderPingIDSAML, AuthProviderPingIDOIDC, }
var AllCaptureType = []string{ CaptureTypeShell, CaptureTypeScpUpload, CaptureTypeScpDownload, CaptureTypeCommand, CaptureTypeRDPBasic, CaptureTypeRDPEnhanced, CaptureTypeK8sExec, CaptureTypeK8sExecTTY, CaptureTypeK8sPortForward, CaptureTypeK8sCPUpload, CaptureTypeK8sCPDownload, CaptureTypeK8sDescribe, CaptureTypeK8sGet, CaptureTypeK8sDelete, CaptureTypeK8sGeneric, CaptureTypeK8sApply, CaptureTypeSSHPortForward, }
var AllDeviceTrustProvider = []string{ DeviceTrustProviderNone, DeviceTrustProviderSentinelOne, DeviceTrustProviderCrowdStrike, DeviceTrustProviderMicrosoftDefender, DeviceTrustProviderDuo, }
var AllLogLocalEncoder = []string{ LogLocalEncoderPlaintext, LogLocalEncoderPubKey, }
var AllLogLocalFormat = []string{ LogLocalFormatCSV, LogLocalFormatJSON, }
var AllLogLocalStorage = []string{ LogLocalStorageStdout, LogLocalStorageFile, LogLocalStorageTCP, LogLocalStorageSocket, LogLocalStorageSyslog, LogLocalStorageNone, }
var AllLogRemoteEncoder = []string{ LogRemoteEncoderStrongDM, LogRemoteEncoderPubKey, LogRemoteEncoderHash, }
var AllMFAProvider = []string{ MFAProviderNone, MFAProviderDuo, MFAProviderTOTP, MFAProviderOkta, MFAProviderRSA, }
var AllNodeState = []string{ NodeStateNew, NodeStateVerifyingRestart, NodeStateAwaitingRestart, NodeStateRestarting, NodeStateStarted, NodeStateStopped, NodeStateDead, }
var AllOrgKind = []string{ OrgKindSolo, OrgKindRoot, OrgKindChild, }
var AllPermission = []string{}/* 101 elements not displayed */
var AllPermissionLevel = []string{ PermissionLevelRootAdmin, PermissionLevelAdmin, PermissionLevelDatabaseAdmin, PermissionLevelDatabaseOperator, PermissionLevelTeamLeader, PermissionLevelUser, PermissionLevelAuditor, PermissionLevelRelay, PermissionLevelAdminToken, PermissionLevelSCIMToken, PermissionLevelServiceNowToken, PermissionLevelService, PermissionLevelSuspended, PermissionLevelEmpty, }
var AllProvider = []string{ ProviderNone, ProviderOkta, ProviderSailPoint, ProviderAzure, ProviderGeneric, ProviderOneLogin, ProviderGoogle, }
var AllQueryCategory = []string{ QueryCategoryKubernetes, QueryCategoryDatasources, QueryCategoryRDP, QueryCategorySSH, QueryCategoryWeb, QueryCategoryCloud, QueryCategoryAll, }
var AllResourceIPAllocationMode = []string{ ResourceIPAllocationModeUnset, ResourceIPAllocationModeDefault, ResourceIPAllocationModeLoopback, ResourceIPAllocationModeVNM, }
var AllSCIMProvider = []string{ SCIMProviderNone, SCIMProviderOkta, SCIMProviderSailPoint, SCIMProviderAzure, SCIMProviderGeneric, SCIMProviderOneLogin, SCIMProviderGoogle, }
var AllSSHKeyType = []string{ SSHKeyTypeRSA_2048, SSHKeyTypeRSA_4096, SSHKeyTypeECDSA_256, SSHKeyTypeECDSA_384, SSHKeyTypeECDSA_521, SSHKeyTypeED25519, }
Functions ¶
func APIHostIsValid ¶
func ActivityVerbIsValid ¶
func AuthProviderIsValid ¶
func CaptureTypeIsValid ¶
func LogLocalEncoderIsValid ¶
func LogLocalFormatIsValid ¶
func LogLocalStorageIsValid ¶
func LogRemoteEncoderIsValid ¶
func MFAProviderIsValid ¶
func NodeStateIsValid ¶
func OrgKindIsValid ¶
func PermissionIsValid ¶
func PermissionLevelIsValid ¶
func ProviderIsValid ¶
func QueryCategoryIsValid ¶
func SCIMProviderIsValid ¶
func SSHKeyTypeIsValid ¶
Types ¶
type AKS ¶
type AKS struct {
// If true, allows users to fallback to the existing authentication mode (Leased Credential or Identity Set)
// when a resource role is not provided.
AllowResourceRoleBypass bool `json:"allowResourceRoleBypass"`
// The bind interface is the IP address to which the port override of a resource is bound (for example, 127.0.0.1). It is automatically generated if not provided and may also be set to one of the ResourceIPAllocationMode constants to select between VNM, loopback, or default allocation.
BindInterface string `json:"bindInterface"`
// The CA to authenticate TLS connections with.
CertificateAuthority string `json:"certificateAuthority"`
// The certificate to authenticate TLS connections with.
ClientCertificate string `json:"clientCertificate"`
// The key to authenticate TLS connections with.
ClientKey string `json:"clientKey"`
// If true, configures discovery of a cluster to be run from a node.
DiscoveryEnabled bool `json:"discoveryEnabled"`
// If a cluster is configured for user impersonation, this is the user to impersonate when
// running discovery.
DiscoveryUsername string `json:"discoveryUsername"`
// A filter applied to the routing logic to pin datasource to nodes.
EgressFilter string `json:"egressFilter"`
// The path used to check the health of your connection. Defaults to `default`.
HealthcheckNamespace string `json:"healthcheckNamespace"`
// True if the datasource is reachable and the credentials are valid.
Healthy bool `json:"healthy"`
// The host to dial to initiate a connection from the egress node to this resource.
Hostname string `json:"hostname"`
// Unique identifier of the Resource.
ID string `json:"id"`
// The username to use for healthchecks, when clients otherwise connect with their own identity alias username.
IdentityAliasHealthcheckUsername string `json:"identityAliasHealthcheckUsername"`
// The ID of the identity set to use for identity connections.
IdentitySetID string `json:"identitySetId"`
// Unique human-readable name of the Resource.
Name string `json:"name"`
// The port to dial to initiate a connection from the egress node to this resource.
Port int32 `json:"port"`
// The local port used by clients to connect to this resource. It is automatically generated if not provided on create and may be re-generated on update by specifying a value of -1.
PortOverride int32 `json:"portOverride"`
// ID of the proxy cluster for this resource, if any.
ProxyClusterID string `json:"proxyClusterId"`
// ID of the secret store containing credentials for this resource, if any.
SecretStoreID string `json:"secretStoreId"`
// DNS subdomain through which this resource may be accessed on clients. (e.g. "app-prod1" allows the resource to be accessed at "app-prod1.your-org-name.sdm-proxy-domain"). Only applicable to HTTP-based resources or resources using virtual networking mode.
Subdomain string `json:"subdomain"`
// Tags is a map of key, value pairs.
Tags Tags `json:"tags"`
}
func (*AKS) GetBindInterface ¶
GetBindInterface returns the bind interface of the AKS.
func (*AKS) GetEgressFilter ¶
GetEgressFilter returns the egress filter of the AKS.
func (*AKS) GetSecretStoreID ¶
GetSecretStoreID returns the secret store id of the AKS.
func (*AKS) SetBindInterface ¶
SetBindInterface sets the bind interface of the AKS.
func (*AKS) SetEgressFilter ¶
SetEgressFilter sets the egress filter of the AKS.
func (*AKS) SetSecretStoreID ¶
SetSecretStoreID sets the secret store id of the AKS.
type AKSBasicAuth ¶
type AKSBasicAuth struct {
// The bind interface is the IP address to which the port override of a resource is bound (for example, 127.0.0.1). It is automatically generated if not provided and may also be set to one of the ResourceIPAllocationMode constants to select between VNM, loopback, or default allocation.
BindInterface string `json:"bindInterface"`
// A filter applied to the routing logic to pin datasource to nodes.
EgressFilter string `json:"egressFilter"`
// The path used to check the health of your connection. Defaults to `default`.
HealthcheckNamespace string `json:"healthcheckNamespace"`
// True if the datasource is reachable and the credentials are valid.
Healthy bool `json:"healthy"`
// The host to dial to initiate a connection from the egress node to this resource.
Hostname string `json:"hostname"`
// Unique identifier of the Resource.
ID string `json:"id"`
// Unique human-readable name of the Resource.
Name string `json:"name"`
// The password to authenticate with.
Password string `json:"password"`
// The port to dial to initiate a connection from the egress node to this resource.
Port int32 `json:"port"`
// The local port used by clients to connect to this resource. It is automatically generated if not provided on create and may be re-generated on update by specifying a value of -1.
PortOverride int32 `json:"portOverride"`
// ID of the proxy cluster for this resource, if any.
ProxyClusterID string `json:"proxyClusterId"`
// ID of the secret store containing credentials for this resource, if any.
SecretStoreID string `json:"secretStoreId"`
// DNS subdomain through which this resource may be accessed on clients. (e.g. "app-prod1" allows the resource to be accessed at "app-prod1.your-org-name.sdm-proxy-domain"). Only applicable to HTTP-based resources or resources using virtual networking mode.
Subdomain string `json:"subdomain"`
// Tags is a map of key, value pairs.
Tags Tags `json:"tags"`
// The username to authenticate with.
Username string `json:"username"`
}
AKSBasicAuth is currently unstable, and its API may change, or it may be removed, without a major version bump.
func (*AKSBasicAuth) GetBindInterface ¶
func (m *AKSBasicAuth) GetBindInterface() string
GetBindInterface returns the bind interface of the AKSBasicAuth.
func (*AKSBasicAuth) GetEgressFilter ¶
func (m *AKSBasicAuth) GetEgressFilter() string
GetEgressFilter returns the egress filter of the AKSBasicAuth.
func (*AKSBasicAuth) GetID ¶
func (m *AKSBasicAuth) GetID() string
GetID returns the unique identifier of the AKSBasicAuth.
func (*AKSBasicAuth) GetName ¶
func (m *AKSBasicAuth) GetName() string
GetName returns the name of the AKSBasicAuth.
func (*AKSBasicAuth) GetSecretStoreID ¶
func (m *AKSBasicAuth) GetSecretStoreID() string
GetSecretStoreID returns the secret store id of the AKSBasicAuth.
func (*AKSBasicAuth) GetTags ¶
func (m *AKSBasicAuth) GetTags() Tags
GetTags returns the tags of the AKSBasicAuth.
func (*AKSBasicAuth) SetBindInterface ¶
func (m *AKSBasicAuth) SetBindInterface(v string)
SetBindInterface sets the bind interface of the AKSBasicAuth.
func (*AKSBasicAuth) SetEgressFilter ¶
func (m *AKSBasicAuth) SetEgressFilter(v string)
SetEgressFilter sets the egress filter of the AKSBasicAuth.
func (*AKSBasicAuth) SetName ¶
func (m *AKSBasicAuth) SetName(v string)
SetName sets the name of the AKSBasicAuth.
func (*AKSBasicAuth) SetSecretStoreID ¶
func (m *AKSBasicAuth) SetSecretStoreID(v string)
SetSecretStoreID sets the secret store id of the AKSBasicAuth.
func (*AKSBasicAuth) SetTags ¶
func (m *AKSBasicAuth) SetTags(v Tags)
SetTags sets the tags of the AKSBasicAuth.
type AKSServiceAccount ¶
type AKSServiceAccount struct {
// If true, allows users to fallback to the existing authentication mode (Leased Credential or Identity Set)
// when a resource role is not provided.
AllowResourceRoleBypass bool `json:"allowResourceRoleBypass"`
// The bind interface is the IP address to which the port override of a resource is bound (for example, 127.0.0.1). It is automatically generated if not provided and may also be set to one of the ResourceIPAllocationMode constants to select between VNM, loopback, or default allocation.
BindInterface string `json:"bindInterface"`
// If true, configures discovery of a cluster to be run from a node.
DiscoveryEnabled bool `json:"discoveryEnabled"`
// If a cluster is configured for user impersonation, this is the user to impersonate when
// running discovery.
DiscoveryUsername string `json:"discoveryUsername"`
// A filter applied to the routing logic to pin datasource to nodes.
EgressFilter string `json:"egressFilter"`
// The path used to check the health of your connection. Defaults to `default`.
HealthcheckNamespace string `json:"healthcheckNamespace"`
// True if the datasource is reachable and the credentials are valid.
Healthy bool `json:"healthy"`
// The host to dial to initiate a connection from the egress node to this resource.
Hostname string `json:"hostname"`
// Unique identifier of the Resource.
ID string `json:"id"`
// The username to use for healthchecks, when clients otherwise connect with their own identity alias username.
IdentityAliasHealthcheckUsername string `json:"identityAliasHealthcheckUsername"`
// The ID of the identity set to use for identity connections.
IdentitySetID string `json:"identitySetId"`
// Unique human-readable name of the Resource.
Name string `json:"name"`
// The port to dial to initiate a connection from the egress node to this resource.
Port int32 `json:"port"`
// The local port used by clients to connect to this resource. It is automatically generated if not provided on create and may be re-generated on update by specifying a value of -1.
PortOverride int32 `json:"portOverride"`
// ID of the proxy cluster for this resource, if any.
ProxyClusterID string `json:"proxyClusterId"`
// ID of the secret store containing credentials for this resource, if any.
SecretStoreID string `json:"secretStoreId"`
// DNS subdomain through which this resource may be accessed on clients. (e.g. "app-prod1" allows the resource to be accessed at "app-prod1.your-org-name.sdm-proxy-domain"). Only applicable to HTTP-based resources or resources using virtual networking mode.
Subdomain string `json:"subdomain"`
// Tags is a map of key, value pairs.
Tags Tags `json:"tags"`
// The API token to authenticate with.
Token string `json:"token"`
}
func (*AKSServiceAccount) GetBindInterface ¶
func (m *AKSServiceAccount) GetBindInterface() string
GetBindInterface returns the bind interface of the AKSServiceAccount.
func (*AKSServiceAccount) GetEgressFilter ¶
func (m *AKSServiceAccount) GetEgressFilter() string
GetEgressFilter returns the egress filter of the AKSServiceAccount.
func (*AKSServiceAccount) GetID ¶
func (m *AKSServiceAccount) GetID() string
GetID returns the unique identifier of the AKSServiceAccount.
func (*AKSServiceAccount) GetName ¶
func (m *AKSServiceAccount) GetName() string
GetName returns the name of the AKSServiceAccount.
func (*AKSServiceAccount) GetSecretStoreID ¶
func (m *AKSServiceAccount) GetSecretStoreID() string
GetSecretStoreID returns the secret store id of the AKSServiceAccount.
func (*AKSServiceAccount) GetTags ¶
func (m *AKSServiceAccount) GetTags() Tags
GetTags returns the tags of the AKSServiceAccount.
func (*AKSServiceAccount) SetBindInterface ¶
func (m *AKSServiceAccount) SetBindInterface(v string)
SetBindInterface sets the bind interface of the AKSServiceAccount.
func (*AKSServiceAccount) SetEgressFilter ¶
func (m *AKSServiceAccount) SetEgressFilter(v string)
SetEgressFilter sets the egress filter of the AKSServiceAccount.
func (*AKSServiceAccount) SetName ¶
func (m *AKSServiceAccount) SetName(v string)
SetName sets the name of the AKSServiceAccount.
func (*AKSServiceAccount) SetSecretStoreID ¶
func (m *AKSServiceAccount) SetSecretStoreID(v string)
SetSecretStoreID sets the secret store id of the AKSServiceAccount.
func (*AKSServiceAccount) SetTags ¶
func (m *AKSServiceAccount) SetTags(v Tags)
SetTags sets the tags of the AKSServiceAccount.
type AKSServiceAccountUserImpersonation
deprecated
type AKSServiceAccountUserImpersonation struct {
// The bind interface is the IP address to which the port override of a resource is bound (for example, 127.0.0.1). It is automatically generated if not provided and may also be set to one of the ResourceIPAllocationMode constants to select between VNM, loopback, or default allocation.
BindInterface string `json:"bindInterface"`
// A filter applied to the routing logic to pin datasource to nodes.
EgressFilter string `json:"egressFilter"`
// The path used to check the health of your connection. Defaults to `default`.
HealthcheckNamespace string `json:"healthcheckNamespace"`
// True if the datasource is reachable and the credentials are valid.
Healthy bool `json:"healthy"`
// The host to dial to initiate a connection from the egress node to this resource.
Hostname string `json:"hostname"`
// Unique identifier of the Resource.
ID string `json:"id"`
// Unique human-readable name of the Resource.
Name string `json:"name"`
// The port to dial to initiate a connection from the egress node to this resource.
Port int32 `json:"port"`
// The local port used by clients to connect to this resource. It is automatically generated if not provided on create and may be re-generated on update by specifying a value of -1.
PortOverride int32 `json:"portOverride"`
// ID of the proxy cluster for this resource, if any.
ProxyClusterID string `json:"proxyClusterId"`
// ID of the secret store containing credentials for this resource, if any.
SecretStoreID string `json:"secretStoreId"`
// DNS subdomain through which this resource may be accessed on clients. (e.g. "app-prod1" allows the resource to be accessed at "app-prod1.your-org-name.sdm-proxy-domain"). Only applicable to HTTP-based resources or resources using virtual networking mode.
Subdomain string `json:"subdomain"`
// Tags is a map of key, value pairs.
Tags Tags `json:"tags"`
// The API token to authenticate with.
Token string `json:"token"`
}
Deprecated: see docs for more info.
func (*AKSServiceAccountUserImpersonation) GetBindInterface ¶
func (m *AKSServiceAccountUserImpersonation) GetBindInterface() string
GetBindInterface returns the bind interface of the AKSServiceAccountUserImpersonation.
func (*AKSServiceAccountUserImpersonation) GetEgressFilter ¶
func (m *AKSServiceAccountUserImpersonation) GetEgressFilter() string
GetEgressFilter returns the egress filter of the AKSServiceAccountUserImpersonation.
func (*AKSServiceAccountUserImpersonation) GetID ¶
func (m *AKSServiceAccountUserImpersonation) GetID() string
GetID returns the unique identifier of the AKSServiceAccountUserImpersonation.
func (*AKSServiceAccountUserImpersonation) GetName ¶
func (m *AKSServiceAccountUserImpersonation) GetName() string
GetName returns the name of the AKSServiceAccountUserImpersonation.
func (*AKSServiceAccountUserImpersonation) GetSecretStoreID ¶
func (m *AKSServiceAccountUserImpersonation) GetSecretStoreID() string
GetSecretStoreID returns the secret store id of the AKSServiceAccountUserImpersonation.
func (*AKSServiceAccountUserImpersonation) GetTags ¶
func (m *AKSServiceAccountUserImpersonation) GetTags() Tags
GetTags returns the tags of the AKSServiceAccountUserImpersonation.
func (*AKSServiceAccountUserImpersonation) SetBindInterface ¶
func (m *AKSServiceAccountUserImpersonation) SetBindInterface(v string)
SetBindInterface sets the bind interface of the AKSServiceAccountUserImpersonation.
func (*AKSServiceAccountUserImpersonation) SetEgressFilter ¶
func (m *AKSServiceAccountUserImpersonation) SetEgressFilter(v string)
SetEgressFilter sets the egress filter of the AKSServiceAccountUserImpersonation.
func (*AKSServiceAccountUserImpersonation) SetName ¶
func (m *AKSServiceAccountUserImpersonation) SetName(v string)
SetName sets the name of the AKSServiceAccountUserImpersonation.
func (*AKSServiceAccountUserImpersonation) SetSecretStoreID ¶
func (m *AKSServiceAccountUserImpersonation) SetSecretStoreID(v string)
SetSecretStoreID sets the secret store id of the AKSServiceAccountUserImpersonation.
func (*AKSServiceAccountUserImpersonation) SetTags ¶
func (m *AKSServiceAccountUserImpersonation) SetTags(v Tags)
SetTags sets the tags of the AKSServiceAccountUserImpersonation.
type AKSUserImpersonation
deprecated
type AKSUserImpersonation struct {
// The bind interface is the IP address to which the port override of a resource is bound (for example, 127.0.0.1). It is automatically generated if not provided and may also be set to one of the ResourceIPAllocationMode constants to select between VNM, loopback, or default allocation.
BindInterface string `json:"bindInterface"`
// The CA to authenticate TLS connections with.
CertificateAuthority string `json:"certificateAuthority"`
// The certificate to authenticate TLS connections with.
ClientCertificate string `json:"clientCertificate"`
// The key to authenticate TLS connections with.
ClientKey string `json:"clientKey"`
// A filter applied to the routing logic to pin datasource to nodes.
EgressFilter string `json:"egressFilter"`
// The path used to check the health of your connection. Defaults to `default`.
HealthcheckNamespace string `json:"healthcheckNamespace"`
// True if the datasource is reachable and the credentials are valid.
Healthy bool `json:"healthy"`
// The host to dial to initiate a connection from the egress node to this resource.
Hostname string `json:"hostname"`
// Unique identifier of the Resource.
ID string `json:"id"`
// Unique human-readable name of the Resource.
Name string `json:"name"`
// The port to dial to initiate a connection from the egress node to this resource.
Port int32 `json:"port"`
// The local port used by clients to connect to this resource. It is automatically generated if not provided on create and may be re-generated on update by specifying a value of -1.
PortOverride int32 `json:"portOverride"`
// ID of the proxy cluster for this resource, if any.
ProxyClusterID string `json:"proxyClusterId"`
// ID of the secret store containing credentials for this resource, if any.
SecretStoreID string `json:"secretStoreId"`
// DNS subdomain through which this resource may be accessed on clients. (e.g. "app-prod1" allows the resource to be accessed at "app-prod1.your-org-name.sdm-proxy-domain"). Only applicable to HTTP-based resources or resources using virtual networking mode.
Subdomain string `json:"subdomain"`
// Tags is a map of key, value pairs.
Tags Tags `json:"tags"`
}
Deprecated: see docs for more info.
func (*AKSUserImpersonation) GetBindInterface ¶
func (m *AKSUserImpersonation) GetBindInterface() string
GetBindInterface returns the bind interface of the AKSUserImpersonation.
func (*AKSUserImpersonation) GetEgressFilter ¶
func (m *AKSUserImpersonation) GetEgressFilter() string
GetEgressFilter returns the egress filter of the AKSUserImpersonation.
func (*AKSUserImpersonation) GetID ¶
func (m *AKSUserImpersonation) GetID() string
GetID returns the unique identifier of the AKSUserImpersonation.
func (*AKSUserImpersonation) GetName ¶
func (m *AKSUserImpersonation) GetName() string
GetName returns the name of the AKSUserImpersonation.
func (*AKSUserImpersonation) GetSecretStoreID ¶
func (m *AKSUserImpersonation) GetSecretStoreID() string
GetSecretStoreID returns the secret store id of the AKSUserImpersonation.
func (*AKSUserImpersonation) GetTags ¶
func (m *AKSUserImpersonation) GetTags() Tags
GetTags returns the tags of the AKSUserImpersonation.
func (*AKSUserImpersonation) SetBindInterface ¶
func (m *AKSUserImpersonation) SetBindInterface(v string)
SetBindInterface sets the bind interface of the AKSUserImpersonation.
func (*AKSUserImpersonation) SetEgressFilter ¶
func (m *AKSUserImpersonation) SetEgressFilter(v string)
SetEgressFilter sets the egress filter of the AKSUserImpersonation.
func (*AKSUserImpersonation) SetName ¶
func (m *AKSUserImpersonation) SetName(v string)
SetName sets the name of the AKSUserImpersonation.
func (*AKSUserImpersonation) SetSecretStoreID ¶
func (m *AKSUserImpersonation) SetSecretStoreID(v string)
SetSecretStoreID sets the secret store id of the AKSUserImpersonation.
func (*AKSUserImpersonation) SetTags ¶
func (m *AKSUserImpersonation) SetTags(v Tags)
SetTags sets the tags of the AKSUserImpersonation.
type AMQP ¶
type AMQP struct {
// The bind interface is the IP address to which the port override of a resource is bound (for example, 127.0.0.1). It is automatically generated if not provided and may also be set to one of the ResourceIPAllocationMode constants to select between VNM, loopback, or default allocation.
BindInterface string `json:"bindInterface"`
// A filter applied to the routing logic to pin datasource to nodes.
EgressFilter string `json:"egressFilter"`
// True if the datasource is reachable and the credentials are valid.
Healthy bool `json:"healthy"`
// The host to dial to initiate a connection from the egress node to this resource.
Hostname string `json:"hostname"`
// Unique identifier of the Resource.
ID string `json:"id"`
// Unique human-readable name of the Resource.
Name string `json:"name"`
// The password to authenticate with.
Password string `json:"password"`
// The port to dial to initiate a connection from the egress node to this resource.
Port int32 `json:"port"`
// The local port used by clients to connect to this resource. It is automatically generated if not provided on create and may be re-generated on update by specifying a value of -1.
PortOverride int32 `json:"portOverride"`
// ID of the proxy cluster for this resource, if any.
ProxyClusterID string `json:"proxyClusterId"`
// ID of the secret store containing credentials for this resource, if any.
SecretStoreID string `json:"secretStoreId"`
// DNS subdomain through which this resource may be accessed on clients. (e.g. "app-prod1" allows the resource to be accessed at "app-prod1.your-org-name.sdm-proxy-domain"). Only applicable to HTTP-based resources or resources using virtual networking mode.
Subdomain string `json:"subdomain"`
// Tags is a map of key, value pairs.
Tags Tags `json:"tags"`
// If set, TLS must be used to connect to this resource.
TlsRequired bool `json:"tlsRequired"`
// The username to authenticate with.
Username string `json:"username"`
}
func (*AMQP) GetBindInterface ¶
GetBindInterface returns the bind interface of the AMQP.
func (*AMQP) GetEgressFilter ¶
GetEgressFilter returns the egress filter of the AMQP.
func (*AMQP) GetSecretStoreID ¶
GetSecretStoreID returns the secret store id of the AMQP.
func (*AMQP) SetBindInterface ¶
SetBindInterface sets the bind interface of the AMQP.
func (*AMQP) SetEgressFilter ¶
SetEgressFilter sets the egress filter of the AMQP.
func (*AMQP) SetSecretStoreID ¶
SetSecretStoreID sets the secret store id of the AMQP.
type AWS ¶
type AWS struct {
// The Access Key ID to use to authenticate.
AccessKey string `json:"accessKey"`
// The bind interface is the IP address to which the port override of a resource is bound (for example, 127.0.0.1). It is automatically generated if not provided and may also be set to one of the ResourceIPAllocationMode constants to select between VNM, loopback, or default allocation.
BindInterface string `json:"bindInterface"`
// A filter applied to the routing logic to pin datasource to nodes.
EgressFilter string `json:"egressFilter"`
// The AWS region healthcheck requests should attempt to connect to.
HealthcheckRegion string `json:"healthcheckRegion"`
// True if the datasource is reachable and the credentials are valid.
Healthy bool `json:"healthy"`
// Unique identifier of the Resource.
ID string `json:"id"`
// Unique human-readable name of the Resource.
Name string `json:"name"`
// The local port used by clients to connect to this resource. It is automatically generated if not provided on create and may be re-generated on update by specifying a value of -1.
PortOverride int32 `json:"portOverride"`
// ID of the proxy cluster for this resource, if any.
ProxyClusterID string `json:"proxyClusterId"`
// The role to assume after logging in.
RoleArn string `json:"roleArn"`
// The external ID to associate with assume role requests. Does nothing if a role ARN is not provided.
RoleExternalID string `json:"roleExternalId"`
// The Secret Access Key to use to authenticate.
SecretAccessKey string `json:"secretAccessKey"`
// ID of the secret store containing credentials for this resource, if any.
SecretStoreID string `json:"secretStoreId"`
// DNS subdomain through which this resource may be accessed on clients. (e.g. "app-prod1" allows the resource to be accessed at "app-prod1.your-org-name.sdm-proxy-domain"). Only applicable to HTTP-based resources or resources using virtual networking mode.
Subdomain string `json:"subdomain"`
// Tags is a map of key, value pairs.
Tags Tags `json:"tags"`
}
func (*AWS) GetBindInterface ¶
GetBindInterface returns the bind interface of the AWS.
func (*AWS) GetEgressFilter ¶
GetEgressFilter returns the egress filter of the AWS.
func (*AWS) GetSecretStoreID ¶
GetSecretStoreID returns the secret store id of the AWS.
func (*AWS) SetBindInterface ¶
SetBindInterface sets the bind interface of the AWS.
func (*AWS) SetEgressFilter ¶
SetEgressFilter sets the egress filter of the AWS.
func (*AWS) SetSecretStoreID ¶
SetSecretStoreID sets the secret store id of the AWS.
type AWSCertX509Store ¶
type AWSCertX509Store struct {
// The ARN of the CA in AWS Private CA
CaArn string `json:"caArn"`
// The ARN of the AWS certificate template for requested certificates. Must allow SAN, key usage, and ext key usage passthrough from CSR
CertificateTemplateArn string `json:"certificateTemplateArn"`
// Unique identifier of the SecretStore.
ID string `json:"id"`
// The lifetime of certificates issued by this CA represented in minutes.
IssuedCertTTLMinutes int32 `json:"issuedCertTtlMinutes"`
// Unique human-readable name of the SecretStore.
Name string `json:"name"`
// The AWS region to target e.g. us-east-1
Region string `json:"region"`
// The specified signing algorithm family (RSA or ECDSA) must match the algorithm family of the CA's secret key. e.g. SHA256WITHRSA
SigningAlgo string `json:"signingAlgo"`
// Tags is a map of key, value pairs.
Tags Tags `json:"tags"`
}
func (*AWSCertX509Store) GetID ¶
func (m *AWSCertX509Store) GetID() string
GetID returns the unique identifier of the AWSCertX509Store.
func (*AWSCertX509Store) GetName ¶
func (m *AWSCertX509Store) GetName() string
GetName returns the name of the AWSCertX509Store.
func (*AWSCertX509Store) GetTags ¶
func (m *AWSCertX509Store) GetTags() Tags
GetTags returns the tags of the AWSCertX509Store.
func (*AWSCertX509Store) SetName ¶
func (m *AWSCertX509Store) SetName(v string)
SetName sets the name of the AWSCertX509Store.
func (*AWSCertX509Store) SetTags ¶
func (m *AWSCertX509Store) SetTags(v Tags)
SetTags sets the tags of the AWSCertX509Store.
type AWSConnector ¶
type AWSConnector struct {
// AccountIds is the list of AWS Accounts to scan
AccountIDs []string `json:"accountIds"`
// Description of the Connector.
Description string `json:"description"`
// ExcludeTags filters out discovered resources that have the tag and value.
// We do allow duplicate tag names for ExcludeTags to support multiple excluded values for the tag.
ExcludeTags []*Tag `json:"excludeTags"`
// Unique identifier of the Connector.
ID string `json:"id"`
// IncludeTags only discovers cloud resources that have one of the included tags.
// We do not allow duplicate tag names for IncludeTags
IncludeTags []*Tag `json:"includeTags"`
// Unique human-readable name of the Connector.
Name string `json:"name"`
// RoleName is the Role we're assuming into for an account
RoleName string `json:"roleName"`
// ScanPeriod identifies which remote system this Connector discovers
ScanPeriod string `json:"scanPeriod"`
// Services is a list of services this connector should scan.
Services []string `json:"services"`
}
func (*AWSConnector) GetDescription ¶
func (m *AWSConnector) GetDescription() string
GetDescription returns the description of the AWSConnector.
func (*AWSConnector) GetExcludeTags ¶
func (m *AWSConnector) GetExcludeTags() []*Tag
GetExcludeTags returns the exclude tags of the AWSConnector.
func (*AWSConnector) GetID ¶
func (m *AWSConnector) GetID() string
GetID returns the unique identifier of the AWSConnector.
func (*AWSConnector) GetIncludeTags ¶
func (m *AWSConnector) GetIncludeTags() []*Tag
GetIncludeTags returns the include tags of the AWSConnector.
func (*AWSConnector) GetName ¶
func (m *AWSConnector) GetName() string
GetName returns the name of the AWSConnector.
func (*AWSConnector) GetScanPeriod ¶
func (m *AWSConnector) GetScanPeriod() string
GetScanPeriod returns the scan period of the AWSConnector.
func (*AWSConnector) GetServices ¶
func (m *AWSConnector) GetServices() []string
GetServices returns the services of the AWSConnector.
func (*AWSConnector) SetDescription ¶
func (m *AWSConnector) SetDescription(v string)
SetDescription sets the description of the AWSConnector.
func (*AWSConnector) SetExcludeTags ¶
func (m *AWSConnector) SetExcludeTags(v []*Tag)
SetExcludeTags sets the exclude tags of the AWSConnector.
func (*AWSConnector) SetIncludeTags ¶
func (m *AWSConnector) SetIncludeTags(v []*Tag)
SetIncludeTags sets the include tags of the AWSConnector.
func (*AWSConnector) SetName ¶
func (m *AWSConnector) SetName(v string)
SetName sets the name of the AWSConnector.
func (*AWSConnector) SetScanPeriod ¶
func (m *AWSConnector) SetScanPeriod(v string)
SetScanPeriod sets the scan period of the AWSConnector.
func (*AWSConnector) SetServices ¶
func (m *AWSConnector) SetServices(v []string)
SetServices sets the services of the AWSConnector.
type AWSConsole ¶
type AWSConsole struct {
// The bind interface is the IP address to which the port override of a resource is bound (for example, 127.0.0.1). It is automatically generated if not provided and may also be set to one of the ResourceIPAllocationMode constants to select between VNM, loopback, or default allocation.
BindInterface string `json:"bindInterface"`
// A filter applied to the routing logic to pin datasource to nodes.
EgressFilter string `json:"egressFilter"`
// If true, prefer environment variables to authenticate connection even if EC2 roles are configured.
EnableEnvVariables bool `json:"enableEnvVariables"`
// True if the datasource is reachable and the credentials are valid.
Healthy bool `json:"healthy"`
// Unique identifier of the Resource.
ID string `json:"id"`
// The username to use for healthchecks, when clients otherwise connect with their own identity alias username.
IdentityAliasHealthcheckUsername string `json:"identityAliasHealthcheckUsername"`
// The ID of the identity set to use for identity connections.
IdentitySetID string `json:"identitySetId"`
// Unique human-readable name of the Resource.
Name string `json:"name"`
// The local port used by clients to connect to this resource. It is automatically generated if not provided on create and may be re-generated on update by specifying a value of -1.
PortOverride int32 `json:"portOverride"`
// ID of the proxy cluster for this resource, if any.
ProxyClusterID string `json:"proxyClusterId"`
// The AWS region to connect to.
Region string `json:"region"`
// The role to assume after logging in.
RoleArn string `json:"roleArn"`
// The external ID to associate with assume role requests. Does nothing if a role ARN is not provided.
RoleExternalID string `json:"roleExternalId"`
// ID of the secret store containing credentials for this resource, if any.
SecretStoreID string `json:"secretStoreId"`
// The length of time in seconds AWS console sessions will live before needing to reauthenticate.
SessionExpiry int32 `json:"sessionExpiry"`
// Subdomain is the local DNS address. (e.g. app-prod1 turns into app-prod1.your-org-name.sdm.network)
Subdomain string `json:"subdomain"`
// Tags is a map of key, value pairs.
Tags Tags `json:"tags"`
// This option enforces HTTPS on the client, not resource connection.
UseHttps bool `json:"useHttps"`
}
func (*AWSConsole) GetBindInterface ¶
func (m *AWSConsole) GetBindInterface() string
GetBindInterface returns the bind interface of the AWSConsole.
func (*AWSConsole) GetEgressFilter ¶
func (m *AWSConsole) GetEgressFilter() string
GetEgressFilter returns the egress filter of the AWSConsole.
func (*AWSConsole) GetID ¶
func (m *AWSConsole) GetID() string
GetID returns the unique identifier of the AWSConsole.
func (*AWSConsole) GetName ¶
func (m *AWSConsole) GetName() string
GetName returns the name of the AWSConsole.
func (*AWSConsole) GetSecretStoreID ¶
func (m *AWSConsole) GetSecretStoreID() string
GetSecretStoreID returns the secret store id of the AWSConsole.
func (*AWSConsole) GetTags ¶
func (m *AWSConsole) GetTags() Tags
GetTags returns the tags of the AWSConsole.
func (*AWSConsole) SetBindInterface ¶
func (m *AWSConsole) SetBindInterface(v string)
SetBindInterface sets the bind interface of the AWSConsole.
func (*AWSConsole) SetEgressFilter ¶
func (m *AWSConsole) SetEgressFilter(v string)
SetEgressFilter sets the egress filter of the AWSConsole.
func (*AWSConsole) SetName ¶
func (m *AWSConsole) SetName(v string)
SetName sets the name of the AWSConsole.
func (*AWSConsole) SetSecretStoreID ¶
func (m *AWSConsole) SetSecretStoreID(v string)
SetSecretStoreID sets the secret store id of the AWSConsole.
func (*AWSConsole) SetTags ¶
func (m *AWSConsole) SetTags(v Tags)
SetTags sets the tags of the AWSConsole.
type AWSConsoleStaticKeyPair ¶
type AWSConsoleStaticKeyPair struct {
// The Access Key ID to authenticate with.
AccessKey string `json:"accessKey"`
// The bind interface is the IP address to which the port override of a resource is bound (for example, 127.0.0.1). It is automatically generated if not provided and may also be set to one of the ResourceIPAllocationMode constants to select between VNM, loopback, or default allocation.
BindInterface string `json:"bindInterface"`
// A filter applied to the routing logic to pin datasource to nodes.
EgressFilter string `json:"egressFilter"`
// True if the datasource is reachable and the credentials are valid.
Healthy bool `json:"healthy"`
// Unique identifier of the Resource.
ID string `json:"id"`
// The username to use for healthchecks, when clients otherwise connect with their own identity alias username.
IdentityAliasHealthcheckUsername string `json:"identityAliasHealthcheckUsername"`
// The ID of the identity set to use for identity connections.
IdentitySetID string `json:"identitySetId"`
// Unique human-readable name of the Resource.
Name string `json:"name"`
// The local port used by clients to connect to this resource. It is automatically generated if not provided on create and may be re-generated on update by specifying a value of -1.
PortOverride int32 `json:"portOverride"`
// ID of the proxy cluster for this resource, if any.
ProxyClusterID string `json:"proxyClusterId"`
// The AWS region to connect to.
Region string `json:"region"`
// The role to assume after logging in.
RoleArn string `json:"roleArn"`
// The external ID to associate with assume role requests. Does nothing if a role ARN is not provided.
RoleExternalID string `json:"roleExternalId"`
// The Secret Access Key to authenticate with.
SecretAccessKey string `json:"secretAccessKey"`
// ID of the secret store containing credentials for this resource, if any.
SecretStoreID string `json:"secretStoreId"`
// The length of time in seconds AWS console sessions will live before needing to reauthenticate.
SessionExpiry int32 `json:"sessionExpiry"`
// Subdomain is the local DNS address. (e.g. app-prod1 turns into app-prod1.your-org-name.sdm.network)
Subdomain string `json:"subdomain"`
// Tags is a map of key, value pairs.
Tags Tags `json:"tags"`
// This option enforces HTTPS on the client, not resource connection
UseHttps bool `json:"useHttps"`
}
func (*AWSConsoleStaticKeyPair) GetBindInterface ¶
func (m *AWSConsoleStaticKeyPair) GetBindInterface() string
GetBindInterface returns the bind interface of the AWSConsoleStaticKeyPair.
func (*AWSConsoleStaticKeyPair) GetEgressFilter ¶
func (m *AWSConsoleStaticKeyPair) GetEgressFilter() string
GetEgressFilter returns the egress filter of the AWSConsoleStaticKeyPair.
func (*AWSConsoleStaticKeyPair) GetID ¶
func (m *AWSConsoleStaticKeyPair) GetID() string
GetID returns the unique identifier of the AWSConsoleStaticKeyPair.
func (*AWSConsoleStaticKeyPair) GetName ¶
func (m *AWSConsoleStaticKeyPair) GetName() string
GetName returns the name of the AWSConsoleStaticKeyPair.
func (*AWSConsoleStaticKeyPair) GetSecretStoreID ¶
func (m *AWSConsoleStaticKeyPair) GetSecretStoreID() string
GetSecretStoreID returns the secret store id of the AWSConsoleStaticKeyPair.
func (*AWSConsoleStaticKeyPair) GetTags ¶
func (m *AWSConsoleStaticKeyPair) GetTags() Tags
GetTags returns the tags of the AWSConsoleStaticKeyPair.
func (*AWSConsoleStaticKeyPair) SetBindInterface ¶
func (m *AWSConsoleStaticKeyPair) SetBindInterface(v string)
SetBindInterface sets the bind interface of the AWSConsoleStaticKeyPair.
func (*AWSConsoleStaticKeyPair) SetEgressFilter ¶
func (m *AWSConsoleStaticKeyPair) SetEgressFilter(v string)
SetEgressFilter sets the egress filter of the AWSConsoleStaticKeyPair.
func (*AWSConsoleStaticKeyPair) SetName ¶
func (m *AWSConsoleStaticKeyPair) SetName(v string)
SetName sets the name of the AWSConsoleStaticKeyPair.
func (*AWSConsoleStaticKeyPair) SetSecretStoreID ¶
func (m *AWSConsoleStaticKeyPair) SetSecretStoreID(v string)
SetSecretStoreID sets the secret store id of the AWSConsoleStaticKeyPair.
func (*AWSConsoleStaticKeyPair) SetTags ¶
func (m *AWSConsoleStaticKeyPair) SetTags(v Tags)
SetTags sets the tags of the AWSConsoleStaticKeyPair.
type AWSInstanceProfile ¶
type AWSInstanceProfile struct {
// The bind interface is the IP address to which the port override of a resource is bound (for example, 127.0.0.1). It is automatically generated if not provided and may also be set to one of the ResourceIPAllocationMode constants to select between VNM, loopback, or default allocation.
BindInterface string `json:"bindInterface"`
// A filter applied to the routing logic to pin datasource to nodes.
EgressFilter string `json:"egressFilter"`
// If true, prefer environment variables to authenticate connection even if EC2 roles are configured.
EnableEnvVariables bool `json:"enableEnvVariables"`
// True if the datasource is reachable and the credentials are valid.
Healthy bool `json:"healthy"`
// Unique identifier of the Resource.
ID string `json:"id"`
// Unique human-readable name of the Resource.
Name string `json:"name"`
// The local port used by clients to connect to this resource. It is automatically generated if not provided on create and may be re-generated on update by specifying a value of -1.
PortOverride int32 `json:"portOverride"`
// ID of the proxy cluster for this resource, if any.
ProxyClusterID string `json:"proxyClusterId"`
// The AWS region to connect to.
Region string `json:"region"`
// The role to assume after logging in.
RoleArn string `json:"roleArn"`
// The external ID to associate with assume role requests. Does nothing if a role ARN is not provided.
RoleExternalID string `json:"roleExternalId"`
// ID of the secret store containing credentials for this resource, if any.
SecretStoreID string `json:"secretStoreId"`
// DNS subdomain through which this resource may be accessed on clients. (e.g. "app-prod1" allows the resource to be accessed at "app-prod1.your-org-name.sdm-proxy-domain"). Only applicable to HTTP-based resources or resources using virtual networking mode.
Subdomain string `json:"subdomain"`
// Tags is a map of key, value pairs.
Tags Tags `json:"tags"`
}
func (*AWSInstanceProfile) GetBindInterface ¶
func (m *AWSInstanceProfile) GetBindInterface() string
GetBindInterface returns the bind interface of the AWSInstanceProfile.
func (*AWSInstanceProfile) GetEgressFilter ¶
func (m *AWSInstanceProfile) GetEgressFilter() string
GetEgressFilter returns the egress filter of the AWSInstanceProfile.
func (*AWSInstanceProfile) GetID ¶
func (m *AWSInstanceProfile) GetID() string
GetID returns the unique identifier of the AWSInstanceProfile.
func (*AWSInstanceProfile) GetName ¶
func (m *AWSInstanceProfile) GetName() string
GetName returns the name of the AWSInstanceProfile.
func (*AWSInstanceProfile) GetSecretStoreID ¶
func (m *AWSInstanceProfile) GetSecretStoreID() string
GetSecretStoreID returns the secret store id of the AWSInstanceProfile.
func (*AWSInstanceProfile) GetTags ¶
func (m *AWSInstanceProfile) GetTags() Tags
GetTags returns the tags of the AWSInstanceProfile.
func (*AWSInstanceProfile) SetBindInterface ¶
func (m *AWSInstanceProfile) SetBindInterface(v string)
SetBindInterface sets the bind interface of the AWSInstanceProfile.
func (*AWSInstanceProfile) SetEgressFilter ¶
func (m *AWSInstanceProfile) SetEgressFilter(v string)
SetEgressFilter sets the egress filter of the AWSInstanceProfile.
func (*AWSInstanceProfile) SetName ¶
func (m *AWSInstanceProfile) SetName(v string)
SetName sets the name of the AWSInstanceProfile.
func (*AWSInstanceProfile) SetSecretStoreID ¶
func (m *AWSInstanceProfile) SetSecretStoreID(v string)
SetSecretStoreID sets the secret store id of the AWSInstanceProfile.
func (*AWSInstanceProfile) SetTags ¶
func (m *AWSInstanceProfile) SetTags(v Tags)
SetTags sets the tags of the AWSInstanceProfile.
type AWSStore ¶
type AWSStore struct {
// Unique identifier of the SecretStore.
ID string `json:"id"`
// Unique human-readable name of the SecretStore.
Name string `json:"name"`
// The AWS region to target e.g. us-east-1
Region string `json:"region"`
// The role to assume after logging in.
RoleArn string `json:"roleArn"`
// The external ID to associate with assume role requests. Does nothing if a role ARN is not provided.
RoleExternalID string `json:"roleExternalId"`
// Tags is a map of key, value pairs.
Tags Tags `json:"tags"`
}
type AccessRequest ¶
type AccessRequest struct {
// The account that initiated the request.
AccountID string `json:"accountId"`
// Duration of the access request.
// Deprecated: use requested/result duration instead
Duration int64 `json:"duration"`
// The account grant created, if it exists.
GrantID string `json:"grantId"`
// The access request id.
ID string `json:"id"`
// The reason the access was requested.
Reason string `json:"reason"`
// The duration that access was requested for, if any.
RequestedDuration time.Duration `json:"requestedDuration"`
// The resource id.
ResourceID string `json:"resourceId"`
// The duration that results from an approved request.
ResultDuration time.Duration `json:"resultDuration"`
// The timestamp when the requested access will be granted.
// If this field is not specified it will default to the current time.
StartFrom time.Time `json:"startFrom"`
// The status of the access request.
Status string `json:"status"`
// The timestamp when the status changed.
StatusAt time.Time `json:"statusAt"`
// The timestamp when the requested access will expire.
ValidUntil time.Time `json:"validUntil"`
// The workflow the request bound to.
WorkflowID string `json:"workflowId"`
}
AccessRequests are requests for access to a resource that may match a Workflow.
type AccessRequestConfig ¶
type AccessRequestConfig struct {
// The time access should end, defaults to the next occurance of 5 pm
Duration string `json:"duration"`
// The reason for access
Reason string `json:"reason"`
// The resource for which access is being requested
ResourceID string `json:"resourceId"`
// The time access should start, defaults to now
StartFrom time.Time `json:"startFrom"`
}
AccessRequestConfig holds the information required to request access to a resource
type AccessRequestEvent ¶
type AccessRequestEvent struct {
// The account responsible for the event.
ActorID string `json:"actorId"`
// The access request event id.
ID string `json:"id"`
// The metadata about the event
Metadata string `json:"metadata"`
// The request that the event is bound to.
RequestID string `json:"requestId"`
// The type of event.
Type string `json:"type"`
}
AccessRequestEvents hold information about events related to an access request such as creation, approval and denial.
type AccessRequestEventHistory ¶
type AccessRequestEventHistory struct {
// The complete AccessRequestEvent state at this time.
AccessRequestEvent *AccessRequestEvent `json:"accessRequestEvent"`
// The unique identifier of the Activity that produced this change to the AccessRequest.
// May be empty for some system-initiated updates.
ActivityID string `json:"activityId"`
// If this Workflow was deleted, the time it was deleted.
DeletedAt time.Time `json:"deletedAt"`
// The time at which the AccessRequest state was recorded.
Timestamp time.Time `json:"timestamp"`
}
AccessRequestEventHistory records the state of a AccessRequest at a given point in time, where every change (create, update and delete) to a AccessRequest produces an AccessRequestEventHistory record.
type AccessRequestEventHistoryIterator ¶
type AccessRequestEventHistoryIterator interface {
// Next advances the iterator to the next item in the list. It returns
// true if an item is available to retrieve via the `Value()` function.
Next() bool
// Value returns the current item, if one is available.
Value() *AccessRequestEventHistory
// Err returns the first error encountered during iteration, if any.
Err() error
}
AccessRequestEventHistoryIterator provides read access to a list of AccessRequestEventHistory. Use it like so:
for iterator.Next() {
accessRequestEventHistory := iterator.Value()
// ...
}
type AccessRequestEventsHistory ¶
type AccessRequestEventsHistory struct {
// contains filtered or unexported fields
}
AccessRequestEventsHistory provides records of all changes to the state of an AccessRequest.
func (*AccessRequestEventsHistory) List ¶
func (svc *AccessRequestEventsHistory) List( ctx context.Context, filter string, args ...interface{}) ( AccessRequestEventHistoryIterator, error)
List gets a list of AccessRequestEventHistory records matching a given set of criteria.
type AccessRequestHistory ¶
type AccessRequestHistory struct {
// The complete AccessRequest state at this time.
AccessRequest *AccessRequest `json:"accessRequest"`
// The unique identifier of the Activity that produced this change to the AccessRequest.
// May be empty for some system-initiated updates.
ActivityID string `json:"activityId"`
// If this Workflow was deleted, the time it was deleted.
DeletedAt time.Time `json:"deletedAt"`
// The time at which the AccessRequest state was recorded.
Timestamp time.Time `json:"timestamp"`
}
AccessRequestHistory records the state of a AccessRequest at a given point in time, where every change (create, update and delete) to a AccessRequest produces an AccessRequestHistory record.
type AccessRequestHistoryIterator ¶
type AccessRequestHistoryIterator interface {
// Next advances the iterator to the next item in the list. It returns
// true if an item is available to retrieve via the `Value()` function.
Next() bool
// Value returns the current item, if one is available.
Value() *AccessRequestHistory
// Err returns the first error encountered during iteration, if any.
Err() error
}
AccessRequestHistoryIterator provides read access to a list of AccessRequestHistory. Use it like so:
for iterator.Next() {
accessRequestHistory := iterator.Value()
// ...
}
type AccessRequestIterator ¶
type AccessRequestIterator interface {
// Next advances the iterator to the next item in the list. It returns
// true if an item is available to retrieve via the `Value()` function.
Next() bool
// Value returns the current item, if one is available.
Value() *AccessRequest
// Err returns the first error encountered during iteration, if any.
Err() error
}
AccessRequestIterator provides read access to a list of AccessRequest. Use it like so:
for iterator.Next() {
accessRequest := iterator.Value()
// ...
}
type AccessRequestListRequest ¶
type AccessRequestListRequest struct {
// A human-readable filter query string.
Filter string `json:"filter"`
}
AccessRequestListRequest specifies criteria for retrieving a list of AccessRequest records
type AccessRequestListResponse ¶
type AccessRequestListResponse struct {
// Rate limit information.
RateLimit *RateLimitMetadata `json:"rateLimit"`
}
AccessRequestListResponse returns a list of access requests records that meet the criteria of a AccessRequestListRequest.
type AccessRequests ¶
type AccessRequests struct {
// contains filtered or unexported fields
}
AccessRequests are requests for access to a resource that may match a Workflow.
func (*AccessRequests) List ¶
func (svc *AccessRequests) List( ctx context.Context, filter string, args ...interface{}) ( AccessRequestIterator, error)
Lists existing access requests.
type AccessRequestsHistory ¶
type AccessRequestsHistory struct {
// contains filtered or unexported fields
}
AccessRequestsHistory provides records of all changes to the state of an AccessRequest.
func (*AccessRequestsHistory) List ¶
func (svc *AccessRequestsHistory) List( ctx context.Context, filter string, args ...interface{}) ( AccessRequestHistoryIterator, error)
List gets a list of AccessRequestHistory records matching a given set of criteria.
type AccessRule ¶
type AccessRule struct {
// IDs is a list of Resource IDs granted by this AccessRule. If this field
// is set, the rule is a static access rule. No other fields can be set on a
// static access rule.
IDs []string `json:"ids,omitempty"`
// Type specifies a Resource type. You can set this field by itself to grant
// access to all Resources of a certain type. You can also use it in
// conjunction with the Tags field to further narrow down the scope of
// Resources granted.
//
// See the following link for a list of possible values for this field:
// https://docs.strongdm.com/references/cli/filters/#potential-resource-type-values
Type string `json:"type,omitempty"`
// Tags specifies a list of key/value pairs. You can set this field by
// itself to grant access to all Resources which have all the given tags.
// You can also use it in conjunction with the Type field to further narrow
// down the scope of Resources granted.
Tags Tags `json:"tags,omitempty"`
// Privileges specify different privilege levels one can utilize with a set
// of resources.
Privileges Privileges `json:"privileges,omitempty,omitzero"`
}
An AccessRule grants access to a set of Resources. There are two kinds of AccessRules:
- Dynamic: a rule which identifies Resources based on their type or tags - Static: a rule which contains an explicit list of Resource IDs
func ParseAccessRuleJSON ¶
func ParseAccessRuleJSON(data string) (AccessRule, error)
ParseAccessRuleJSON parses the given access rule JSON string.
type AccessRules ¶
type AccessRules []AccessRule
AccessRules define which Resources can be accessed by members of a Role.
func ParseAccessRulesJSON ¶
func ParseAccessRulesJSON(data string) (AccessRules, error)
ParseAccessRulesJSON parses the given access rules JSON string.
type Account ¶
type Account interface {
// GetID returns the unique identifier of the Account.
GetID() string
// IsSuspended returns whether the Account is suspended.
IsSuspended() bool
// SetSuspended sets the suspended of the Account.
SetSuspended(bool)
// GetTags returns the tags of the Account.
GetTags() Tags
// SetTags sets the tags of the Account.
SetTags(Tags)
// GetCreatedAt returns the created at of the Account.
GetCreatedAt() time.Time
// SetCreatedAt sets the created at of the Account.
SetCreatedAt(time.Time)
// contains filtered or unexported methods
}
Accounts are users that have access to strongDM. The types of accounts are: 1. **Users:** humans who are authenticated through username and password or SSO. 2. **Service Accounts:** machines that are authenticated using a service token. 3. **Tokens** are access keys with permissions that can be used for authentication.
type AccountAttachment ¶
type AccountAttachment struct {
// The id of the account of this AccountAttachment.
AccountID string `json:"accountId"`
// Unique identifier of the AccountAttachment.
ID string `json:"id"`
// The id of the attached role of this AccountAttachment.
RoleID string `json:"roleId"`
}
AccountAttachments assign an account to a role.
type AccountAttachmentCreateResponse ¶
type AccountAttachmentCreateResponse struct {
// The created AccountAttachment.
AccountAttachment *AccountAttachment `json:"accountAttachment"`
// Reserved for future use.
Meta *CreateResponseMetadata `json:"meta"`
// Rate limit information.
RateLimit *RateLimitMetadata `json:"rateLimit"`
}
AccountAttachmentCreateResponse reports how the AccountAttachments were created in the system.
type AccountAttachmentDeleteResponse ¶
type AccountAttachmentDeleteResponse struct {
// Reserved for future use.
Meta *DeleteResponseMetadata `json:"meta"`
// Rate limit information.
RateLimit *RateLimitMetadata `json:"rateLimit"`
}
AccountAttachmentDeleteResponse returns information about a AccountAttachment that was deleted.
type AccountAttachmentGetResponse ¶
type AccountAttachmentGetResponse struct {
// The requested AccountAttachment.
AccountAttachment *AccountAttachment `json:"accountAttachment"`
// Reserved for future use.
Meta *GetResponseMetadata `json:"meta"`
// Rate limit information.
RateLimit *RateLimitMetadata `json:"rateLimit"`
}
AccountAttachmentGetResponse returns a requested AccountAttachment.
type AccountAttachmentHistory ¶
type AccountAttachmentHistory struct {
// The complete AccountAttachment state at this time.
AccountAttachment *AccountAttachment `json:"accountAttachment"`
// The unique identifier of the Activity that produced this change to the AccountAttachment.
// May be empty for some system-initiated updates.
ActivityID string `json:"activityId"`
// If this AccountAttachment was deleted, the time it was deleted.
DeletedAt time.Time `json:"deletedAt"`
// The time at which the AccountAttachment state was recorded.
Timestamp time.Time `json:"timestamp"`
}
AccountAttachmentHistory records the state of an AccountAttachment at a given point in time, where every change (create or delete) to an AccountAttachment produces an AccountAttachmentHistory record.
type AccountAttachmentHistoryIterator ¶
type AccountAttachmentHistoryIterator interface {
// Next advances the iterator to the next item in the list. It returns
// true if an item is available to retrieve via the `Value()` function.
Next() bool
// Value returns the current item, if one is available.
Value() *AccountAttachmentHistory
// Err returns the first error encountered during iteration, if any.
Err() error
}
AccountAttachmentHistoryIterator provides read access to a list of AccountAttachmentHistory. Use it like so:
for iterator.Next() {
accountAttachmentHistory := iterator.Value()
// ...
}
type AccountAttachmentIterator ¶
type AccountAttachmentIterator interface {
// Next advances the iterator to the next item in the list. It returns
// true if an item is available to retrieve via the `Value()` function.
Next() bool
// Value returns the current item, if one is available.
Value() *AccountAttachment
// Err returns the first error encountered during iteration, if any.
Err() error
}
AccountAttachmentIterator provides read access to a list of AccountAttachment. Use it like so:
for iterator.Next() {
accountAttachment := iterator.Value()
// ...
}
type AccountAttachments ¶
type AccountAttachments struct {
// contains filtered or unexported fields
}
AccountAttachments assign an account to a role.
func (*AccountAttachments) Create ¶
func (svc *AccountAttachments) Create( ctx context.Context, accountAttachment *AccountAttachment) ( *AccountAttachmentCreateResponse, error)
Create registers a new AccountAttachment.
func (*AccountAttachments) Delete ¶
func (svc *AccountAttachments) Delete( ctx context.Context, id string) ( *AccountAttachmentDeleteResponse, error)
Delete removes a AccountAttachment by ID.
func (*AccountAttachments) Get ¶
func (svc *AccountAttachments) Get( ctx context.Context, id string) ( *AccountAttachmentGetResponse, error)
Get reads one AccountAttachment by ID.
func (*AccountAttachments) List ¶
func (svc *AccountAttachments) List( ctx context.Context, filter string, args ...interface{}) ( AccountAttachmentIterator, error)
List gets a list of AccountAttachments matching a given set of criteria.
type AccountAttachmentsHistory ¶
type AccountAttachmentsHistory struct {
// contains filtered or unexported fields
}
AccountAttachmentsHistory records all changes to the state of an AccountAttachment.
func (*AccountAttachmentsHistory) List ¶
func (svc *AccountAttachmentsHistory) List( ctx context.Context, filter string, args ...interface{}) ( AccountAttachmentHistoryIterator, error)
List gets a list of AccountAttachmentHistory records matching a given set of criteria.
type AccountCreateResponse ¶
type AccountCreateResponse struct {
// ID part of the API key.
AccessKey string `json:"accessKey"`
// The created Account.
Account Account `json:"account"`
// Reserved for future use.
Meta *CreateResponseMetadata `json:"meta"`
// Rate limit information.
RateLimit *RateLimitMetadata `json:"rateLimit"`
// Secret part of the API key.
SecretKey string `json:"secretKey"`
// The auth token generated for the Account. The Account will use this token to
// authenticate with the strongDM API.
Token string `json:"token"`
}
AccountCreateResponse reports how the Accounts were created in the system.
type AccountDeleteResponse ¶
type AccountDeleteResponse struct {
// Reserved for future use.
Meta *DeleteResponseMetadata `json:"meta"`
// Rate limit information.
RateLimit *RateLimitMetadata `json:"rateLimit"`
}
AccountDeleteResponse returns information about a Account that was deleted.
type AccountGetResponse ¶
type AccountGetResponse struct {
// The requested Account.
Account Account `json:"account"`
// Reserved for future use.
Meta *GetResponseMetadata `json:"meta"`
// Rate limit information.
RateLimit *RateLimitMetadata `json:"rateLimit"`
}
AccountGetResponse returns a requested Account.
type AccountGrant ¶
type AccountGrant struct {
// The access request ID that created this AccountGrant, if any.
AccessRequestID string `json:"accessRequestId"`
// The access rule associated with this AccountGrant.
AccessRule AccessRule `json:"accessRule"`
// The account ID of this AccountGrant.
AccountID string `json:"accountId"`
// Unique identifier of the AccountGrant.
ID string `json:"id"`
// The resource ID of this AccountGrant.
ResourceID string `json:"resourceId"`
// The timestamp when the resource will be granted. When creating an AccountGrant, if this field is not specified, it will default to the current time.
StartFrom time.Time `json:"startFrom"`
// The timestamp when the resource grant will expire.
ValidUntil time.Time `json:"validUntil"`
}
AccountGrants connect a resource directly to an account, giving the account the permission to connect to that resource.
type AccountGrantCreateResponse ¶
type AccountGrantCreateResponse struct {
// The created AccountGrant.
AccountGrant *AccountGrant `json:"accountGrant"`
// Reserved for future use.
Meta *CreateResponseMetadata `json:"meta"`
// Rate limit information.
RateLimit *RateLimitMetadata `json:"rateLimit"`
}
AccountGrantCreateResponse reports how the AccountGrants were created in the system.
type AccountGrantDeleteResponse ¶
type AccountGrantDeleteResponse struct {
// Reserved for future use.
Meta *DeleteResponseMetadata `json:"meta"`
// Rate limit information.
RateLimit *RateLimitMetadata `json:"rateLimit"`
}
AccountGrantDeleteResponse returns information about a AccountGrant that was deleted.
type AccountGrantGetResponse ¶
type AccountGrantGetResponse struct {
// The requested AccountGrant.
AccountGrant *AccountGrant `json:"accountGrant"`
// Reserved for future use.
Meta *GetResponseMetadata `json:"meta"`
// Rate limit information.
RateLimit *RateLimitMetadata `json:"rateLimit"`
}
AccountGrantGetResponse returns a requested AccountGrant.
type AccountGrantHistory ¶
type AccountGrantHistory struct {
// The complete AccountGrant state at this time.
AccountGrant *AccountGrant `json:"accountGrant"`
// The unique identifier of the Activity that produced this change to the AccountGrant.
// May be empty for some system-initiated updates.
ActivityID string `json:"activityId"`
// If this AccountGrant was deleted, the time it was deleted.
DeletedAt time.Time `json:"deletedAt"`
// The time at which the AccountGrant state was recorded.
Timestamp time.Time `json:"timestamp"`
}
AccountGrantHistory records the state of an AccountGrant at a given point in time, where every change (create or delete) to an AccountGrant produces an AccountGrantHistory record.
type AccountGrantHistoryIterator ¶
type AccountGrantHistoryIterator interface {
// Next advances the iterator to the next item in the list. It returns
// true if an item is available to retrieve via the `Value()` function.
Next() bool
// Value returns the current item, if one is available.
Value() *AccountGrantHistory
// Err returns the first error encountered during iteration, if any.
Err() error
}
AccountGrantHistoryIterator provides read access to a list of AccountGrantHistory. Use it like so:
for iterator.Next() {
accountGrantHistory := iterator.Value()
// ...
}
type AccountGrantIterator ¶
type AccountGrantIterator interface {
// Next advances the iterator to the next item in the list. It returns
// true if an item is available to retrieve via the `Value()` function.
Next() bool
// Value returns the current item, if one is available.
Value() *AccountGrant
// Err returns the first error encountered during iteration, if any.
Err() error
}
AccountGrantIterator provides read access to a list of AccountGrant. Use it like so:
for iterator.Next() {
accountGrant := iterator.Value()
// ...
}
type AccountGrants ¶
type AccountGrants struct {
// contains filtered or unexported fields
}
AccountGrants assign a resource directly to an account, giving the account the permission to connect to that resource.
func (*AccountGrants) Create ¶
func (svc *AccountGrants) Create( ctx context.Context, accountGrant *AccountGrant) ( *AccountGrantCreateResponse, error)
Create registers a new AccountGrant.
func (*AccountGrants) Delete ¶
func (svc *AccountGrants) Delete( ctx context.Context, id string) ( *AccountGrantDeleteResponse, error)
Delete removes a AccountGrant by ID.
func (*AccountGrants) Get ¶
func (svc *AccountGrants) Get( ctx context.Context, id string) ( *AccountGrantGetResponse, error)
Get reads one AccountGrant by ID.
func (*AccountGrants) List ¶
func (svc *AccountGrants) List( ctx context.Context, filter string, args ...interface{}) ( AccountGrantIterator, error)
List gets a list of AccountGrants matching a given set of criteria.
type AccountGrantsHistory ¶
type AccountGrantsHistory struct {
// contains filtered or unexported fields
}
AccountGrantsHistory records all changes to the state of an AccountGrant.
func (*AccountGrantsHistory) List ¶
func (svc *AccountGrantsHistory) List( ctx context.Context, filter string, args ...interface{}) ( AccountGrantHistoryIterator, error)
List gets a list of AccountGrantHistory records matching a given set of criteria.
type AccountGroup ¶
type AccountGroup struct {
// Unique identifier of the Account.
AccountID string `json:"accountId"`
// Unique identifier of the Group.
GroupID string `json:"groupId"`
// Unique identifier of the AccountGroup.
ID string `json:"id"`
}
An AccountGroup is a link between an Account and a Group.
type AccountGroupCreateRequest ¶
type AccountGroupCreateRequest struct {
// Parameters to define the new AccountGroup.
AccountGroup *AccountGroup `json:"accountGroup"`
}
AccountGroupCreateRequest specifies an AccountGroup to create.
type AccountGroupCreateResponse ¶
type AccountGroupCreateResponse struct {
// The created AccountGroup.
AccountGroup *AccountGroup `json:"accountGroup"`
// Rate limit information.
RateLimit *RateLimitMetadata `json:"rateLimit"`
}
AccountGroupCreateResponse reports the result of a create.
type AccountGroupDeleteRequest ¶
type AccountGroupDeleteRequest struct {
// The unique identifier of the group to delete.
ID string `json:"id"`
}
GroupDeleteRequest identifies an AccountGroup by ID to delete.
type AccountGroupDeleteResponse ¶
type AccountGroupDeleteResponse struct {
// Reserved for future use.
Meta *DeleteResponseMetadata `json:"meta"`
// Rate limit information.
RateLimit *RateLimitMetadata `json:"rateLimit"`
}
GroupDeleteResponse returns information about an AccountGroup that was deleted.
type AccountGroupGetRequest ¶
type AccountGroupGetRequest struct {
// The unique identifier of the AccountGroup to retrieve.
ID string `json:"id"`
}
AccountGroupGetRequest specifies which AccountGroup to retrieve.
type AccountGroupGetResponse ¶
type AccountGroupGetResponse struct {
// The requested AccountGroup.
AccountGroup *AccountGroup `json:"accountGroup"`
// Reserved for future use.
Meta *GetResponseMetadata `json:"meta"`
// Rate limit information.
RateLimit *RateLimitMetadata `json:"rateLimit"`
}
AccountGroupGetResponse returns a requested AccountGroup.
type AccountGroupHistory ¶
type AccountGroupHistory struct {
// The complete AccountGroup state at this time.
AccountGroup *AccountGroup `json:"accountGroup"`
// The unique identifier of the Activity that produced this change to the AccountGroup.
// May be empty for some system-initiated updates.
ActivityID string `json:"activityId"`
// If this AccountGroup was deleted, the time it was deleted.
DeletedAt time.Time `json:"deletedAt"`
// The time at which the AccountGroup state was recorded.
Timestamp time.Time `json:"timestamp"`
}
AccountGroupHistory records the state of an AccountGroup at a given point in time, where every change (create, update and delete) to an AccountGroup produces an AccountGroupHistory record.
type AccountGroupHistoryIterator ¶
type AccountGroupHistoryIterator interface {
// Next advances the iterator to the next item in the list. It returns
// true if an item is available to retrieve via the `Value()` function.
Next() bool
// Value returns the current item, if one is available.
Value() *AccountGroupHistory
// Err returns the first error encountered during iteration, if any.
Err() error
}
AccountGroupHistoryIterator provides read access to a list of AccountGroupHistory. Use it like so:
for iterator.Next() {
accountGroupHistory := iterator.Value()
// ...
}
type AccountGroupIterator ¶
type AccountGroupIterator interface {
// Next advances the iterator to the next item in the list. It returns
// true if an item is available to retrieve via the `Value()` function.
Next() bool
// Value returns the current item, if one is available.
Value() *AccountGroup
// Err returns the first error encountered during iteration, if any.
Err() error
}
AccountGroupIterator provides read access to a list of AccountGroup. Use it like so:
for iterator.Next() {
accountGroup := iterator.Value()
// ...
}
type AccountGroupListRequest ¶
type AccountGroupListRequest struct {
// A human-readable filter query string.
Filter string `json:"filter"`
}
GroupListRequest specifies criteria for retrieving a list of groups.
type AccountGroupListResponse ¶
type AccountGroupListResponse struct {
// Rate limit information.
RateLimit *RateLimitMetadata `json:"rateLimit"`
}
GroupListResponse returns a list of groups that meet the criteria of a GroupListRequest.
type AccountHistory ¶
type AccountHistory struct {
// The complete Account state at this time.
Account Account `json:"account"`
// The unique identifier of the Activity that produced this change to the Account.
// May be empty for some system-initiated updates.
ActivityID string `json:"activityId"`
// If this Account was deleted, the time it was deleted.
DeletedAt time.Time `json:"deletedAt"`
// The time at which the Account state was recorded.
Timestamp time.Time `json:"timestamp"`
}
AccountHistory records the state of an Account at a given point in time, where every change (create, update and delete) to an Account produces an AccountHistory record.
type AccountHistoryIterator ¶
type AccountHistoryIterator interface {
// Next advances the iterator to the next item in the list. It returns
// true if an item is available to retrieve via the `Value()` function.
Next() bool
// Value returns the current item, if one is available.
Value() *AccountHistory
// Err returns the first error encountered during iteration, if any.
Err() error
}
AccountHistoryIterator provides read access to a list of AccountHistory. Use it like so:
for iterator.Next() {
accountHistory := iterator.Value()
// ...
}
type AccountIterator ¶
type AccountIterator interface {
// Next advances the iterator to the next item in the list. It returns
// true if an item is available to retrieve via the `Value()` function.
Next() bool
// Value returns the current item, if one is available.
Value() Account
// Err returns the first error encountered during iteration, if any.
Err() error
}
AccountIterator provides read access to a list of Account. Use it like so:
for iterator.Next() {
account := iterator.Value()
// ...
}
type AccountPermission ¶
type AccountPermission struct {
// The unique identifier of the Account this permission belongs to.
AccountID string `json:"accountId"`
// The most recent time at which the permission was granted. If a permission was
// granted, revoked, and granted again, this will reflect the later time.
GrantedAt time.Time `json:"grantedAt"`
// The value of this permission, split into vertical and action, one of the Permission constants.
Permission string `json:"permission"`
// The scope of this permission. A global scope means this action can be taken
// on any entity; otherwise the action can only be taken on or in the scope of
// the scoped id.
Scope string `json:"scope"`
// The ID to which or in whose context this operation is permitted. e.g. The ID of a
// role that a team leader has the abillity to remove and add accounts to, or the
// ID of a resource that a user has the permission to connect to. If Scope is global,
// scoped id is not populated.
ScopedID string `json:"scopedId"`
}
AccountPermission represents an individual API action available to an account.
type AccountPermissionIterator ¶
type AccountPermissionIterator interface {
// Next advances the iterator to the next item in the list. It returns
// true if an item is available to retrieve via the `Value()` function.
Next() bool
// Value returns the current item, if one is available.
Value() *AccountPermission
// Err returns the first error encountered during iteration, if any.
Err() error
}
AccountPermissionIterator provides read access to a list of AccountPermission. Use it like so:
for iterator.Next() {
accountPermission := iterator.Value()
// ...
}
type AccountPermissions ¶
type AccountPermissions struct {
// contains filtered or unexported fields
}
AccountPermissions records the granular permissions accounts have, allowing them to execute relevant commands via StrongDM's APIs.
func (*AccountPermissions) List ¶
func (svc *AccountPermissions) List( ctx context.Context, filter string, args ...interface{}) ( AccountPermissionIterator, error)
List gets a list of Permission records matching a given set of criteria.
type AccountResource ¶
type AccountResource struct {
// The unique identifier of the AccountGrant through which the Account was granted access to the Resource.
// If empty, access was not granted through an AccountGrant.
AccountGrantID string `json:"accountGrantId"`
// The unique identifier of the Account to which access is granted.
AccountID string `json:"accountId"`
// The time this grant was created, distinct from 'granted at' in the case where access is scheduled
// for the future. If access was granted, revoked, and granted again, this will reflect the later creation time.
CreatedAt time.Time `json:"createdAt"`
// The time at which access will expire. If empty, this access has no expiration.
ExpiresAt time.Time `json:"expiresAt"`
// The most recent time at which access was granted. If access was granted,
// revoked, and granted again, this will reflect the later time.
GrantedAt time.Time `json:"grantedAt"`
// The unique identifier of the Resource to which access is granted.
ResourceID string `json:"resourceId"`
// The unique identifier of the Role through which the Account was granted access to the Resource.
// If empty, access was not granted through an AccountAttachment to a Role.
RoleID string `json:"roleId"`
}
AccountResource represents an individual access grant of a Account to a Resource.
type AccountResourceHistory ¶
type AccountResourceHistory struct {
// The complete AccountResource state at this time.
AccountResource *AccountResource `json:"accountResource"`
// The unique identifier of the Activity that produced this change to the AccountResource.
// May be empty for some system-initiated updates.
ActivityID string `json:"activityId"`
// If this AccountResource was deleted, the time it was deleted.
DeletedAt time.Time `json:"deletedAt"`
// The time at which the AccountResource state was recorded.
Timestamp time.Time `json:"timestamp"`
}
AccountResourceHistory records the state of a AccountResource at a given point in time, where every change (create or delete) to a AccountResource produces an AccountResourceHistory record.
type AccountResourceHistoryIterator ¶
type AccountResourceHistoryIterator interface {
// Next advances the iterator to the next item in the list. It returns
// true if an item is available to retrieve via the `Value()` function.
Next() bool
// Value returns the current item, if one is available.
Value() *AccountResourceHistory
// Err returns the first error encountered during iteration, if any.
Err() error
}
AccountResourceHistoryIterator provides read access to a list of AccountResourceHistory. Use it like so:
for iterator.Next() {
accountResourceHistory := iterator.Value()
// ...
}
type AccountResourceIterator ¶
type AccountResourceIterator interface {
// Next advances the iterator to the next item in the list. It returns
// true if an item is available to retrieve via the `Value()` function.
Next() bool
// Value returns the current item, if one is available.
Value() *AccountResource
// Err returns the first error encountered during iteration, if any.
Err() error
}
AccountResourceIterator provides read access to a list of AccountResource. Use it like so:
for iterator.Next() {
accountResource := iterator.Value()
// ...
}
type AccountResources ¶
type AccountResources struct {
// contains filtered or unexported fields
}
AccountResources enumerates the resources to which accounts have access. The AccountResources service is read-only.
func (*AccountResources) List ¶
func (svc *AccountResources) List( ctx context.Context, filter string, args ...interface{}) ( AccountResourceIterator, error)
List gets a list of AccountResource records matching a given set of criteria.
type AccountResourcesHistory ¶
type AccountResourcesHistory struct {
// contains filtered or unexported fields
}
AccountResourcesHistory records all changes to the state of a AccountResource.
func (*AccountResourcesHistory) List ¶
func (svc *AccountResourcesHistory) List( ctx context.Context, filter string, args ...interface{}) ( AccountResourceHistoryIterator, error)
List gets a list of AccountResourceHistory records matching a given set of criteria.
type AccountUpdateResponse ¶
type AccountUpdateResponse struct {
// The updated Account.
Account Account `json:"account"`
// Reserved for future use.
Meta *UpdateResponseMetadata `json:"meta"`
// Rate limit information.
RateLimit *RateLimitMetadata `json:"rateLimit"`
}
AccountUpdateResponse returns the fields of a Account after it has been updated by a AccountUpdateRequest.
type Accounts ¶
type Accounts struct {
// contains filtered or unexported fields
}
Accounts are users that have access to strongDM. There are two types of accounts: 1. **Users:** humans who are authenticated through username and password or SSO. 2. **Service Accounts:** machines that are authenticated using a service token. 3. **Tokens** are access keys with permissions that can be used for authentication.
type AccountsGroups ¶
type AccountsGroups struct {
// contains filtered or unexported fields
}
An AccountGroup links an account and a group.
func (*AccountsGroups) Create ¶
func (svc *AccountsGroups) Create( ctx context.Context, accountGroup *AccountGroup) ( *AccountGroupCreateResponse, error)
Create create a new AccountGroup.
func (*AccountsGroups) Delete ¶
func (svc *AccountsGroups) Delete( ctx context.Context, id string) ( *AccountGroupDeleteResponse, error)
Delete removes an AccountGroup by ID.
func (*AccountsGroups) Get ¶
func (svc *AccountsGroups) Get( ctx context.Context, id string) ( *AccountGroupGetResponse, error)
Get reads one AccountGroup by ID.
func (*AccountsGroups) List ¶
func (svc *AccountsGroups) List( ctx context.Context, filter string, args ...interface{}) ( AccountGroupIterator, error)
List gets a list of AccountGroups matching a given set of criteria.
type AccountsGroupsHistory ¶
type AccountsGroupsHistory struct {
// contains filtered or unexported fields
}
AccountsGroupsHistory records all changes to the state of an AccountGroup.
func (*AccountsGroupsHistory) List ¶
func (svc *AccountsGroupsHistory) List( ctx context.Context, filter string, args ...interface{}) ( AccountGroupHistoryIterator, error)
List gets a list of AccountGroupHistory records matching a given set of criteria.
type AccountsHistory ¶
type AccountsHistory struct {
// contains filtered or unexported fields
}
AccountsHistory records all changes to the state of an Account.
func (*AccountsHistory) List ¶
func (svc *AccountsHistory) List( ctx context.Context, filter string, args ...interface{}) ( AccountHistoryIterator, error)
List gets a list of AccountHistory records matching a given set of criteria.
type ActiveDirectoryEngine ¶
type ActiveDirectoryEngine struct {
// The default time-to-live duration of the password after it's read. Once the ttl has passed, a password will be rotated.
AfterReadTtl time.Duration `json:"afterReadTtl"`
// Distinguished name of object to bind when performing user and group search. Example: cn=vault,ou=Users,dc=example,dc=com
Binddn string `json:"binddn"`
// Password to use along with binddn when performing user search.
Bindpass string `json:"bindpass"`
// CA certificate to use when verifying LDAP server certificate, must be x509 PEM encoded.
Certificate string `json:"certificate"`
// Timeout, in seconds, when attempting to connect to the LDAP server before trying the next URL in the configuration.
ConnectionTimeout uint32 `json:"connectionTimeout"`
// If set to true this will prevent password change timestamp validation in Active Directory when validating credentials
DoNotValidateTimestamps bool `json:"doNotValidateTimestamps"`
// Unique identifier of the Secret Engine.
ID string `json:"id"`
// If true, skips LDAP server SSL certificate verification - insecure, use with caution!
InsecureTls bool `json:"insecureTls"`
// An interval of public/private key rotation for secret engine in days
KeyRotationIntervalDays int32 `json:"keyRotationIntervalDays"`
// The maximum retry duration in case of automatic failure.
// On failed ttl rotation attempt it will be retried in an increasing intervals until it reaches max_backoff_duration
MaxBackoffDuration time.Duration `json:"maxBackoffDuration"`
// Unique human-readable name of the Secret Engine.
Name string `json:"name"`
// node selector is used to narrow down the nodes used to communicate with with secret engine
NodeSelector string `json:"nodeSelector"`
// Policy for password creation
Policy *SecretEnginePolicy `json:"policy"`
// Public key linked with a secret engine
PublicKey []byte `json:"publicKey"`
// Timeout, in seconds, for the connection when making requests against the server before returning back an error.
RequestTimeout uint32 `json:"requestTimeout"`
// Backing secret store identifier
SecretStoreID string `json:"secretStoreId"`
// Backing Secret Store root path where managed secrets are going to be stored
SecretStoreRootPath string `json:"secretStoreRootPath"`
// If true, issues a StartTLS command after establishing an unencrypted connection.
StartTls bool `json:"startTls"`
// Tags is a map of key, value pairs.
Tags Tags `json:"tags"`
// The default password time-to-live duration. Once the ttl has passed, a password will be rotated the next time it's requested.
Ttl time.Duration `json:"ttl"`
// The domain (userPrincipalDomain) used to construct a UPN string for authentication.
Upndomain string `json:"upndomain"`
// The LDAP server to connect to.
Url string `json:"url"`
// Base DN under which to perform user search. Example: ou=Users,dc=example,dc=com
Userdn string `json:"userdn"`
}
func (*ActiveDirectoryEngine) GetID ¶
func (m *ActiveDirectoryEngine) GetID() string
GetID returns the unique identifier of the ActiveDirectoryEngine.
func (*ActiveDirectoryEngine) GetKeyRotationIntervalDays ¶ added in v16.6.0
func (m *ActiveDirectoryEngine) GetKeyRotationIntervalDays() int32
GetKeyRotationIntervalDays returns the key rotation interval days of the ActiveDirectoryEngine.
func (*ActiveDirectoryEngine) GetName ¶
func (m *ActiveDirectoryEngine) GetName() string
GetName returns the name of the ActiveDirectoryEngine.
func (*ActiveDirectoryEngine) GetNodeSelector ¶ added in v16.6.0
func (m *ActiveDirectoryEngine) GetNodeSelector() string
GetNodeSelector returns the node selector of the ActiveDirectoryEngine.
func (*ActiveDirectoryEngine) GetPublicKey ¶
func (m *ActiveDirectoryEngine) GetPublicKey() []byte
GetPublicKey returns the public key of the ActiveDirectoryEngine.
func (*ActiveDirectoryEngine) GetSecretStoreID ¶
func (m *ActiveDirectoryEngine) GetSecretStoreID() string
GetSecretStoreID returns the secret store id of the ActiveDirectoryEngine.
func (*ActiveDirectoryEngine) GetSecretStoreRootPath ¶
func (m *ActiveDirectoryEngine) GetSecretStoreRootPath() string
GetSecretStoreRootPath returns the secret store root path of the ActiveDirectoryEngine.
func (*ActiveDirectoryEngine) GetTags ¶
func (m *ActiveDirectoryEngine) GetTags() Tags
GetTags returns the tags of the ActiveDirectoryEngine.
func (*ActiveDirectoryEngine) SetKeyRotationIntervalDays ¶ added in v16.6.0
func (m *ActiveDirectoryEngine) SetKeyRotationIntervalDays(v int32)
SetKeyRotationIntervalDays sets the key rotation interval days of the ActiveDirectoryEngine.
func (*ActiveDirectoryEngine) SetName ¶
func (m *ActiveDirectoryEngine) SetName(v string)
SetName sets the name of the ActiveDirectoryEngine.
func (*ActiveDirectoryEngine) SetNodeSelector ¶ added in v16.6.0
func (m *ActiveDirectoryEngine) SetNodeSelector(v string)
SetNodeSelector sets the node selector of the ActiveDirectoryEngine.
func (*ActiveDirectoryEngine) SetPublicKey ¶
func (m *ActiveDirectoryEngine) SetPublicKey(v []byte)
SetPublicKey sets the public key of the ActiveDirectoryEngine.
func (*ActiveDirectoryEngine) SetSecretStoreID ¶
func (m *ActiveDirectoryEngine) SetSecretStoreID(v string)
SetSecretStoreID sets the secret store id of the ActiveDirectoryEngine.
func (*ActiveDirectoryEngine) SetSecretStoreRootPath ¶
func (m *ActiveDirectoryEngine) SetSecretStoreRootPath(v string)
SetSecretStoreRootPath sets the secret store root path of the ActiveDirectoryEngine.
func (*ActiveDirectoryEngine) SetTags ¶
func (m *ActiveDirectoryEngine) SetTags(v Tags)
SetTags sets the tags of the ActiveDirectoryEngine.
type ActiveDirectoryStore ¶
type ActiveDirectoryStore struct {
// Unique identifier of the SecretStore.
ID string `json:"id"`
// Unique human-readable name of the SecretStore.
Name string `json:"name"`
// Hostname of server that is hosting NDES (Network Device Enrollment Services).
// Often this is the same host as Active Directory Certificate Services
ServerAddress string `json:"serverAddress"`
// Tags is a map of key, value pairs.
Tags Tags `json:"tags"`
}
func (*ActiveDirectoryStore) GetID ¶
func (m *ActiveDirectoryStore) GetID() string
GetID returns the unique identifier of the ActiveDirectoryStore.
func (*ActiveDirectoryStore) GetName ¶
func (m *ActiveDirectoryStore) GetName() string
GetName returns the name of the ActiveDirectoryStore.
func (*ActiveDirectoryStore) GetTags ¶
func (m *ActiveDirectoryStore) GetTags() Tags
GetTags returns the tags of the ActiveDirectoryStore.
func (*ActiveDirectoryStore) SetName ¶
func (m *ActiveDirectoryStore) SetName(v string)
SetName sets the name of the ActiveDirectoryStore.
func (*ActiveDirectoryStore) SetTags ¶
func (m *ActiveDirectoryStore) SetTags(v Tags)
SetTags sets the tags of the ActiveDirectoryStore.
type Activities ¶
type Activities struct {
// contains filtered or unexported fields
}
An Activity is a record of an action taken against a strongDM deployment, e.g. a user creation, resource deletion, sso configuration change, etc. The Activities service is read-only.
func (*Activities) Get ¶
func (svc *Activities) Get( ctx context.Context, id string) ( *ActivityGetResponse, error)
Get reads one Activity by ID.
func (*Activities) List ¶
func (svc *Activities) List( ctx context.Context, filter string, args ...interface{}) ( ActivityIterator, error)
List gets a list of Activities matching a given set of criteria. The 'before' and 'after' filters can be used to control the time range of the output activities. If not provided, one week of back of activities will be returned.
type Activity ¶
type Activity struct {
// The account who executed this activity. If the actor later has a name or email change,
// that change is not reflected here. Actor is a snapshot of the executing account at
// the time an activity took place.
Actor *ActivityActor `json:"actor"`
// The time this activity took effect.
CompletedAt time.Time `json:"completedAt"`
// A humanized description of the activity.
Description string `json:"description"`
// The entities involved in this activity. These entities can be any first class
// entity in the strongDM system, eg. a user, a role, a node, an account grant. Not
// every activity affects explicit entities.
Entities []*ActivityEntity `json:"entities"`
// Unique identifier of the Activity.
ID string `json:"id"`
// The IP from which this action was taken.
IPAddress string `json:"ipAddress"`
// The User Agent present when this request was executed. Generally a client type and version
// like strongdm-cli/55.66.77
UserAgent string `json:"userAgent"`
// The kind of activity which has taken place, one of the ActivityVerb constants.
Verb string `json:"verb"`
}
An Activity is a record of an action taken against a strongDM deployment, e.g. a user creation, resource deletion, sso configuration change, etc.
type ActivityActor ¶
type ActivityActor struct {
// The external ID of the actor at the time this activity occurred.
ActivityExternalID string `json:"activityExternalId"`
// The email of the actor at the time this activity occurred.
Email string `json:"email"`
// The first name of the actor at the time this activity occurred.
FirstName string `json:"firstName"`
// Unique identifier of the actor. Immutable.
ID string `json:"id"`
// The last name of the actor at the time this activity occurred.
LastName string `json:"lastName"`
}
type ActivityEntity ¶
type ActivityEntity struct {
// The email of the affected entity, if it has one (for example, if it is an account).
Email string `json:"email"`
// The external ID of the affected entity, if it has one (for example, if it is an account).
ExternalID string `json:"externalId"`
// The unique identifier of the entity this activity affected.
ID string `json:"id"`
// A display name representing the affected entity.
Name string `json:"name"`
// The type of entity affected, one of the ActivityEntityType constants.
Type string `json:"type"`
}
type ActivityGetResponse ¶
type ActivityGetResponse struct {
// The requested Activity.
Activity *Activity `json:"activity"`
// Reserved for future use.
Meta *GetResponseMetadata `json:"meta"`
// Rate limit information.
RateLimit *RateLimitMetadata `json:"rateLimit"`
}
ActivityGetResponse returns a requested Activity.
type ActivityIterator ¶
type ActivityIterator interface {
// Next advances the iterator to the next item in the list. It returns
// true if an item is available to retrieve via the `Value()` function.
Next() bool
// Value returns the current item, if one is available.
Value() *Activity
// Err returns the first error encountered during iteration, if any.
Err() error
}
ActivityIterator provides read access to a list of Activity. Use it like so:
for iterator.Next() {
activity := iterator.Value()
// ...
}
type Aerospike ¶
type Aerospike struct {
// The bind interface is the IP address to which the port override of a resource is bound (for example, 127.0.0.1). It is automatically generated if not provided and may also be set to one of the ResourceIPAllocationMode constants to select between VNM, loopback, or default allocation.
BindInterface string `json:"bindInterface"`
// A filter applied to the routing logic to pin datasource to nodes.
EgressFilter string `json:"egressFilter"`
// True if the datasource is reachable and the credentials are valid.
Healthy bool `json:"healthy"`
// The host to dial to initiate a connection from the egress node to this resource.
Hostname string `json:"hostname"`
// Unique identifier of the Resource.
ID string `json:"id"`
// Unique human-readable name of the Resource.
Name string `json:"name"`
// The password to authenticate with.
Password string `json:"password"`
// The port to dial to initiate a connection from the egress node to this resource.
Port int32 `json:"port"`
// The local port used by clients to connect to this resource. It is automatically generated if not provided on create and may be re-generated on update by specifying a value of -1.
PortOverride int32 `json:"portOverride"`
// ID of the proxy cluster for this resource, if any.
ProxyClusterID string `json:"proxyClusterId"`
// ID of the secret store containing credentials for this resource, if any.
SecretStoreID string `json:"secretStoreId"`
// DNS subdomain through which this resource may be accessed on clients. (e.g. "app-prod1" allows the resource to be accessed at "app-prod1.your-org-name.sdm-proxy-domain"). Only applicable to HTTP-based resources or resources using virtual networking mode.
Subdomain string `json:"subdomain"`
// Tags is a map of key, value pairs.
Tags Tags `json:"tags"`
// If true, uses UseServicesAlternates directive for Aerospike connection
UseServicesAlternate bool `json:"useServicesAlternate"`
// The username to authenticate with.
Username string `json:"username"`
}
func (*Aerospike) GetBindInterface ¶
GetBindInterface returns the bind interface of the Aerospike.
func (*Aerospike) GetEgressFilter ¶
GetEgressFilter returns the egress filter of the Aerospike.
func (*Aerospike) GetSecretStoreID ¶
GetSecretStoreID returns the secret store id of the Aerospike.
func (*Aerospike) SetBindInterface ¶
SetBindInterface sets the bind interface of the Aerospike.
func (*Aerospike) SetEgressFilter ¶
SetEgressFilter sets the egress filter of the Aerospike.
func (*Aerospike) SetSecretStoreID ¶
SetSecretStoreID sets the secret store id of the Aerospike.
type AlreadyExistsError ¶
type AlreadyExistsError struct {
// Message is the error content.
Message string
}
AlreadyExistsError is used when an entity already exists in the system
func (AlreadyExistsError) Code ¶
func (e AlreadyExistsError) Code() int
func (AlreadyExistsError) Error ¶
func (e AlreadyExistsError) Error() string
type AmazonEKS ¶
type AmazonEKS struct {
// The Access Key ID to use to authenticate.
AccessKey string `json:"accessKey"`
// If true, allows users to fallback to the existing authentication mode (Leased Credential or Identity Set)
// when a resource role is not provided.
AllowResourceRoleBypass bool `json:"allowResourceRoleBypass"`
// The bind interface is the IP address to which the port override of a resource is bound (for example, 127.0.0.1). It is automatically generated if not provided and may also be set to one of the ResourceIPAllocationMode constants to select between VNM, loopback, or default allocation.
BindInterface string `json:"bindInterface"`
// The CA to authenticate TLS connections with.
CertificateAuthority string `json:"certificateAuthority"`
// The name of the cluster to connect to.
ClusterName string `json:"clusterName"`
// If true, configures discovery of a cluster to be run from a node.
DiscoveryEnabled bool `json:"discoveryEnabled"`
// If a cluster is configured for user impersonation, this is the user to impersonate when
// running discovery.
DiscoveryUsername string `json:"discoveryUsername"`
// A filter applied to the routing logic to pin datasource to nodes.
EgressFilter string `json:"egressFilter"`
// The endpoint to dial.
Endpoint string `json:"endpoint"`
// The path used to check the health of your connection. Defaults to `default`.
HealthcheckNamespace string `json:"healthcheckNamespace"`
// True if the datasource is reachable and the credentials are valid.
Healthy bool `json:"healthy"`
// Unique identifier of the Resource.
ID string `json:"id"`
// The username to use for healthchecks, when clients otherwise connect with their own identity alias username.
IdentityAliasHealthcheckUsername string `json:"identityAliasHealthcheckUsername"`
// The ID of the identity set to use for identity connections.
IdentitySetID string `json:"identitySetId"`
// Unique human-readable name of the Resource.
Name string `json:"name"`
// The local port used by clients to connect to this resource. It is automatically generated if not provided on create and may be re-generated on update by specifying a value of -1.
PortOverride int32 `json:"portOverride"`
// ID of the proxy cluster for this resource, if any.
ProxyClusterID string `json:"proxyClusterId"`
// The AWS region to connect to e.g. us-east-1.
Region string `json:"region"`
// The role to assume after logging in.
RoleArn string `json:"roleArn"`
// The external ID to associate with assume role requests. Does nothing if a role ARN is not provided.
RoleExternalID string `json:"roleExternalId"`
// The Secret Access Key to use to authenticate.
SecretAccessKey string `json:"secretAccessKey"`
// ID of the secret store containing credentials for this resource, if any.
SecretStoreID string `json:"secretStoreId"`
// DNS subdomain through which this resource may be accessed on clients. (e.g. "app-prod1" allows the resource to be accessed at "app-prod1.your-org-name.sdm-proxy-domain"). Only applicable to HTTP-based resources or resources using virtual networking mode.
Subdomain string `json:"subdomain"`
// Tags is a map of key, value pairs.
Tags Tags `json:"tags"`
}
func (*AmazonEKS) GetBindInterface ¶
GetBindInterface returns the bind interface of the AmazonEKS.
func (*AmazonEKS) GetEgressFilter ¶
GetEgressFilter returns the egress filter of the AmazonEKS.
func (*AmazonEKS) GetSecretStoreID ¶
GetSecretStoreID returns the secret store id of the AmazonEKS.
func (*AmazonEKS) SetBindInterface ¶
SetBindInterface sets the bind interface of the AmazonEKS.
func (*AmazonEKS) SetEgressFilter ¶
SetEgressFilter sets the egress filter of the AmazonEKS.
func (*AmazonEKS) SetSecretStoreID ¶
SetSecretStoreID sets the secret store id of the AmazonEKS.
type AmazonEKSInstanceProfile ¶
type AmazonEKSInstanceProfile struct {
// If true, allows users to fallback to the existing authentication mode (Leased Credential or Identity Set)
// when a resource role is not provided.
AllowResourceRoleBypass bool `json:"allowResourceRoleBypass"`
// The bind interface is the IP address to which the port override of a resource is bound (for example, 127.0.0.1). It is automatically generated if not provided and may also be set to one of the ResourceIPAllocationMode constants to select between VNM, loopback, or default allocation.
BindInterface string `json:"bindInterface"`
// The CA to authenticate TLS connections with.
CertificateAuthority string `json:"certificateAuthority"`
// The name of the cluster to connect to.
ClusterName string `json:"clusterName"`
// If true, configures discovery of a cluster to be run from a node.
DiscoveryEnabled bool `json:"discoveryEnabled"`
// If a cluster is configured for user impersonation, this is the user to impersonate when
// running discovery.
DiscoveryUsername string `json:"discoveryUsername"`
// A filter applied to the routing logic to pin datasource to nodes.
EgressFilter string `json:"egressFilter"`
// The endpoint to dial.
Endpoint string `json:"endpoint"`
// The path used to check the health of your connection. Defaults to `default`.
HealthcheckNamespace string `json:"healthcheckNamespace"`
// True if the datasource is reachable and the credentials are valid.
Healthy bool `json:"healthy"`
// Unique identifier of the Resource.
ID string `json:"id"`
// The username to use for healthchecks, when clients otherwise connect with their own identity alias username.
IdentityAliasHealthcheckUsername string `json:"identityAliasHealthcheckUsername"`
// The ID of the identity set to use for identity connections.
IdentitySetID string `json:"identitySetId"`
// Unique human-readable name of the Resource.
Name string `json:"name"`
// The local port used by clients to connect to this resource. It is automatically generated if not provided on create and may be re-generated on update by specifying a value of -1.
PortOverride int32 `json:"portOverride"`
// ID of the proxy cluster for this resource, if any.
ProxyClusterID string `json:"proxyClusterId"`
// The AWS region to connect to e.g. us-east-1.
Region string `json:"region"`
// The role to assume after logging in.
RoleArn string `json:"roleArn"`
// The external ID to associate with assume role requests. Does nothing if a role ARN is not provided.
RoleExternalID string `json:"roleExternalId"`
// ID of the secret store containing credentials for this resource, if any.
SecretStoreID string `json:"secretStoreId"`
// DNS subdomain through which this resource may be accessed on clients. (e.g. "app-prod1" allows the resource to be accessed at "app-prod1.your-org-name.sdm-proxy-domain"). Only applicable to HTTP-based resources or resources using virtual networking mode.
Subdomain string `json:"subdomain"`
// Tags is a map of key, value pairs.
Tags Tags `json:"tags"`
}
func (*AmazonEKSInstanceProfile) GetBindInterface ¶
func (m *AmazonEKSInstanceProfile) GetBindInterface() string
GetBindInterface returns the bind interface of the AmazonEKSInstanceProfile.
func (*AmazonEKSInstanceProfile) GetEgressFilter ¶
func (m *AmazonEKSInstanceProfile) GetEgressFilter() string
GetEgressFilter returns the egress filter of the AmazonEKSInstanceProfile.
func (*AmazonEKSInstanceProfile) GetID ¶
func (m *AmazonEKSInstanceProfile) GetID() string
GetID returns the unique identifier of the AmazonEKSInstanceProfile.
func (*AmazonEKSInstanceProfile) GetName ¶
func (m *AmazonEKSInstanceProfile) GetName() string
GetName returns the name of the AmazonEKSInstanceProfile.
func (*AmazonEKSInstanceProfile) GetSecretStoreID ¶
func (m *AmazonEKSInstanceProfile) GetSecretStoreID() string
GetSecretStoreID returns the secret store id of the AmazonEKSInstanceProfile.
func (*AmazonEKSInstanceProfile) GetTags ¶
func (m *AmazonEKSInstanceProfile) GetTags() Tags
GetTags returns the tags of the AmazonEKSInstanceProfile.
func (*AmazonEKSInstanceProfile) SetBindInterface ¶
func (m *AmazonEKSInstanceProfile) SetBindInterface(v string)
SetBindInterface sets the bind interface of the AmazonEKSInstanceProfile.
func (*AmazonEKSInstanceProfile) SetEgressFilter ¶
func (m *AmazonEKSInstanceProfile) SetEgressFilter(v string)
SetEgressFilter sets the egress filter of the AmazonEKSInstanceProfile.
func (*AmazonEKSInstanceProfile) SetName ¶
func (m *AmazonEKSInstanceProfile) SetName(v string)
SetName sets the name of the AmazonEKSInstanceProfile.
func (*AmazonEKSInstanceProfile) SetSecretStoreID ¶
func (m *AmazonEKSInstanceProfile) SetSecretStoreID(v string)
SetSecretStoreID sets the secret store id of the AmazonEKSInstanceProfile.
func (*AmazonEKSInstanceProfile) SetTags ¶
func (m *AmazonEKSInstanceProfile) SetTags(v Tags)
SetTags sets the tags of the AmazonEKSInstanceProfile.
type AmazonEKSInstanceProfileUserImpersonation
deprecated
type AmazonEKSInstanceProfileUserImpersonation struct {
// The bind interface is the IP address to which the port override of a resource is bound (for example, 127.0.0.1). It is automatically generated if not provided and may also be set to one of the ResourceIPAllocationMode constants to select between VNM, loopback, or default allocation.
BindInterface string `json:"bindInterface"`
// The CA to authenticate TLS connections with.
CertificateAuthority string `json:"certificateAuthority"`
// The name of the cluster to connect to.
ClusterName string `json:"clusterName"`
// A filter applied to the routing logic to pin datasource to nodes.
EgressFilter string `json:"egressFilter"`
// The endpoint to dial.
Endpoint string `json:"endpoint"`
// The path used to check the health of your connection. Defaults to `default`.
HealthcheckNamespace string `json:"healthcheckNamespace"`
// True if the datasource is reachable and the credentials are valid.
Healthy bool `json:"healthy"`
// Unique identifier of the Resource.
ID string `json:"id"`
// Unique human-readable name of the Resource.
Name string `json:"name"`
// The local port used by clients to connect to this resource. It is automatically generated if not provided on create and may be re-generated on update by specifying a value of -1.
PortOverride int32 `json:"portOverride"`
// ID of the proxy cluster for this resource, if any.
ProxyClusterID string `json:"proxyClusterId"`
// The AWS region to connect to e.g. us-east-1.
Region string `json:"region"`
// The role to assume after logging in.
RoleArn string `json:"roleArn"`
// The external ID to associate with assume role requests. Does nothing if a role ARN is not provided.
RoleExternalID string `json:"roleExternalId"`
// ID of the secret store containing credentials for this resource, if any.
SecretStoreID string `json:"secretStoreId"`
// DNS subdomain through which this resource may be accessed on clients. (e.g. "app-prod1" allows the resource to be accessed at "app-prod1.your-org-name.sdm-proxy-domain"). Only applicable to HTTP-based resources or resources using virtual networking mode.
Subdomain string `json:"subdomain"`
// Tags is a map of key, value pairs.
Tags Tags `json:"tags"`
}
Deprecated: see docs for more info.
func (*AmazonEKSInstanceProfileUserImpersonation) GetBindInterface ¶
func (m *AmazonEKSInstanceProfileUserImpersonation) GetBindInterface() string
GetBindInterface returns the bind interface of the AmazonEKSInstanceProfileUserImpersonation.
func (*AmazonEKSInstanceProfileUserImpersonation) GetEgressFilter ¶
func (m *AmazonEKSInstanceProfileUserImpersonation) GetEgressFilter() string
GetEgressFilter returns the egress filter of the AmazonEKSInstanceProfileUserImpersonation.
func (*AmazonEKSInstanceProfileUserImpersonation) GetID ¶
func (m *AmazonEKSInstanceProfileUserImpersonation) GetID() string
GetID returns the unique identifier of the AmazonEKSInstanceProfileUserImpersonation.
func (*AmazonEKSInstanceProfileUserImpersonation) GetName ¶
func (m *AmazonEKSInstanceProfileUserImpersonation) GetName() string
GetName returns the name of the AmazonEKSInstanceProfileUserImpersonation.
func (*AmazonEKSInstanceProfileUserImpersonation) GetSecretStoreID ¶
func (m *AmazonEKSInstanceProfileUserImpersonation) GetSecretStoreID() string
GetSecretStoreID returns the secret store id of the AmazonEKSInstanceProfileUserImpersonation.
func (*AmazonEKSInstanceProfileUserImpersonation) GetTags ¶
func (m *AmazonEKSInstanceProfileUserImpersonation) GetTags() Tags
GetTags returns the tags of the AmazonEKSInstanceProfileUserImpersonation.
func (*AmazonEKSInstanceProfileUserImpersonation) SetBindInterface ¶
func (m *AmazonEKSInstanceProfileUserImpersonation) SetBindInterface(v string)
SetBindInterface sets the bind interface of the AmazonEKSInstanceProfileUserImpersonation.
func (*AmazonEKSInstanceProfileUserImpersonation) SetEgressFilter ¶
func (m *AmazonEKSInstanceProfileUserImpersonation) SetEgressFilter(v string)
SetEgressFilter sets the egress filter of the AmazonEKSInstanceProfileUserImpersonation.
func (*AmazonEKSInstanceProfileUserImpersonation) SetName ¶
func (m *AmazonEKSInstanceProfileUserImpersonation) SetName(v string)
SetName sets the name of the AmazonEKSInstanceProfileUserImpersonation.
func (*AmazonEKSInstanceProfileUserImpersonation) SetSecretStoreID ¶
func (m *AmazonEKSInstanceProfileUserImpersonation) SetSecretStoreID(v string)
SetSecretStoreID sets the secret store id of the AmazonEKSInstanceProfileUserImpersonation.
func (*AmazonEKSInstanceProfileUserImpersonation) SetTags ¶
func (m *AmazonEKSInstanceProfileUserImpersonation) SetTags(v Tags)
SetTags sets the tags of the AmazonEKSInstanceProfileUserImpersonation.
type AmazonEKSUserImpersonation
deprecated
type AmazonEKSUserImpersonation struct {
// The Access Key ID to use to authenticate.
AccessKey string `json:"accessKey"`
// The bind interface is the IP address to which the port override of a resource is bound (for example, 127.0.0.1). It is automatically generated if not provided and may also be set to one of the ResourceIPAllocationMode constants to select between VNM, loopback, or default allocation.
BindInterface string `json:"bindInterface"`
// The CA to authenticate TLS connections with.
CertificateAuthority string `json:"certificateAuthority"`
// The name of the cluster to connect to.
ClusterName string `json:"clusterName"`
// A filter applied to the routing logic to pin datasource to nodes.
EgressFilter string `json:"egressFilter"`
// The endpoint to dial.
Endpoint string `json:"endpoint"`
// The path used to check the health of your connection. Defaults to `default`.
HealthcheckNamespace string `json:"healthcheckNamespace"`
// True if the datasource is reachable and the credentials are valid.
Healthy bool `json:"healthy"`
// Unique identifier of the Resource.
ID string `json:"id"`
// Unique human-readable name of the Resource.
Name string `json:"name"`
// The local port used by clients to connect to this resource. It is automatically generated if not provided on create and may be re-generated on update by specifying a value of -1.
PortOverride int32 `json:"portOverride"`
// ID of the proxy cluster for this resource, if any.
ProxyClusterID string `json:"proxyClusterId"`
// The AWS region to connect to e.g. us-east-1.
Region string `json:"region"`
// The role to assume after logging in.
RoleArn string `json:"roleArn"`
// The external ID to associate with assume role requests. Does nothing if a role ARN is not provided.
RoleExternalID string `json:"roleExternalId"`
// The Secret Access Key to use to authenticate.
SecretAccessKey string `json:"secretAccessKey"`
// ID of the secret store containing credentials for this resource, if any.
SecretStoreID string `json:"secretStoreId"`
// DNS subdomain through which this resource may be accessed on clients. (e.g. "app-prod1" allows the resource to be accessed at "app-prod1.your-org-name.sdm-proxy-domain"). Only applicable to HTTP-based resources or resources using virtual networking mode.
Subdomain string `json:"subdomain"`
// Tags is a map of key, value pairs.
Tags Tags `json:"tags"`
}
Deprecated: see docs for more info.
func (*AmazonEKSUserImpersonation) GetBindInterface ¶
func (m *AmazonEKSUserImpersonation) GetBindInterface() string
GetBindInterface returns the bind interface of the AmazonEKSUserImpersonation.
func (*AmazonEKSUserImpersonation) GetEgressFilter ¶
func (m *AmazonEKSUserImpersonation) GetEgressFilter() string
GetEgressFilter returns the egress filter of the AmazonEKSUserImpersonation.
func (*AmazonEKSUserImpersonation) GetID ¶
func (m *AmazonEKSUserImpersonation) GetID() string
GetID returns the unique identifier of the AmazonEKSUserImpersonation.
func (*AmazonEKSUserImpersonation) GetName ¶
func (m *AmazonEKSUserImpersonation) GetName() string
GetName returns the name of the AmazonEKSUserImpersonation.
func (*AmazonEKSUserImpersonation) GetSecretStoreID ¶
func (m *AmazonEKSUserImpersonation) GetSecretStoreID() string
GetSecretStoreID returns the secret store id of the AmazonEKSUserImpersonation.
func (*AmazonEKSUserImpersonation) GetTags ¶
func (m *AmazonEKSUserImpersonation) GetTags() Tags
GetTags returns the tags of the AmazonEKSUserImpersonation.
func (*AmazonEKSUserImpersonation) SetBindInterface ¶
func (m *AmazonEKSUserImpersonation) SetBindInterface(v string)
SetBindInterface sets the bind interface of the AmazonEKSUserImpersonation.
func (*AmazonEKSUserImpersonation) SetEgressFilter ¶
func (m *AmazonEKSUserImpersonation) SetEgressFilter(v string)
SetEgressFilter sets the egress filter of the AmazonEKSUserImpersonation.
func (*AmazonEKSUserImpersonation) SetName ¶
func (m *AmazonEKSUserImpersonation) SetName(v string)
SetName sets the name of the AmazonEKSUserImpersonation.
func (*AmazonEKSUserImpersonation) SetSecretStoreID ¶
func (m *AmazonEKSUserImpersonation) SetSecretStoreID(v string)
SetSecretStoreID sets the secret store id of the AmazonEKSUserImpersonation.
func (*AmazonEKSUserImpersonation) SetTags ¶
func (m *AmazonEKSUserImpersonation) SetTags(v Tags)
SetTags sets the tags of the AmazonEKSUserImpersonation.
type AmazonES ¶
type AmazonES struct {
// The Access Key ID to use to authenticate.
AccessKey string `json:"accessKey"`
// The bind interface is the IP address to which the port override of a resource is bound (for example, 127.0.0.1). It is automatically generated if not provided and may also be set to one of the ResourceIPAllocationMode constants to select between VNM, loopback, or default allocation.
BindInterface string `json:"bindInterface"`
// A filter applied to the routing logic to pin datasource to nodes.
EgressFilter string `json:"egressFilter"`
// The endpoint to dial e.g. search-?.region.es.amazonaws.com"
Endpoint string `json:"endpoint"`
// True if the datasource is reachable and the credentials are valid.
Healthy bool `json:"healthy"`
// Unique identifier of the Resource.
ID string `json:"id"`
// Unique human-readable name of the Resource.
Name string `json:"name"`
// The local port used by clients to connect to this resource. It is automatically generated if not provided on create and may be re-generated on update by specifying a value of -1.
PortOverride int32 `json:"portOverride"`
// ID of the proxy cluster for this resource, if any.
ProxyClusterID string `json:"proxyClusterId"`
// The AWS region to connect to e.g. us-east-1.
Region string `json:"region"`
// The role to assume after logging in.
RoleArn string `json:"roleArn"`
// The external ID to associate with assume role requests. Does nothing if a role ARN is not provided.
RoleExternalID string `json:"roleExternalId"`
// The Secret Access Key to use to authenticate.
SecretAccessKey string `json:"secretAccessKey"`
// ID of the secret store containing credentials for this resource, if any.
SecretStoreID string `json:"secretStoreId"`
// DNS subdomain through which this resource may be accessed on clients. (e.g. "app-prod1" allows the resource to be accessed at "app-prod1.your-org-name.sdm-proxy-domain"). Only applicable to HTTP-based resources or resources using virtual networking mode.
Subdomain string `json:"subdomain"`
// Tags is a map of key, value pairs.
Tags Tags `json:"tags"`
}
func (*AmazonES) GetBindInterface ¶
GetBindInterface returns the bind interface of the AmazonES.
func (*AmazonES) GetEgressFilter ¶
GetEgressFilter returns the egress filter of the AmazonES.
func (*AmazonES) GetSecretStoreID ¶
GetSecretStoreID returns the secret store id of the AmazonES.
func (*AmazonES) SetBindInterface ¶
SetBindInterface sets the bind interface of the AmazonES.
func (*AmazonES) SetEgressFilter ¶
SetEgressFilter sets the egress filter of the AmazonES.
func (*AmazonES) SetSecretStoreID ¶
SetSecretStoreID sets the secret store id of the AmazonES.
type AmazonESIAM ¶
type AmazonESIAM struct {
// The bind interface is the IP address to which the port override of a resource is bound (for example, 127.0.0.1). It is automatically generated if not provided and may also be set to one of the ResourceIPAllocationMode constants to select between VNM, loopback, or default allocation.
BindInterface string `json:"bindInterface"`
// A filter applied to the routing logic to pin datasource to nodes.
EgressFilter string `json:"egressFilter"`
// The endpoint to dial e.g. search-?.region.es.amazonaws.com"
Endpoint string `json:"endpoint"`
// True if the datasource is reachable and the credentials are valid.
Healthy bool `json:"healthy"`
// Unique identifier of the Resource.
ID string `json:"id"`
// Unique human-readable name of the Resource.
Name string `json:"name"`
// The local port used by clients to connect to this resource. It is automatically generated if not provided on create and may be re-generated on update by specifying a value of -1.
PortOverride int32 `json:"portOverride"`
// ID of the proxy cluster for this resource, if any.
ProxyClusterID string `json:"proxyClusterId"`
// The AWS region to connect to.
Region string `json:"region"`
// The role to assume after logging in.
RoleArn string `json:"roleArn"`
// The external ID to associate with assume role requests. Does nothing if a role ARN is not provided.
RoleExternalID string `json:"roleExternalId"`
// ID of the secret store containing credentials for this resource, if any.
SecretStoreID string `json:"secretStoreId"`
// DNS subdomain through which this resource may be accessed on clients. (e.g. "app-prod1" allows the resource to be accessed at "app-prod1.your-org-name.sdm-proxy-domain"). Only applicable to HTTP-based resources or resources using virtual networking mode.
Subdomain string `json:"subdomain"`
// Tags is a map of key, value pairs.
Tags Tags `json:"tags"`
// Use TLS to connect to the OpenSearch server
TlsRequired bool `json:"tlsRequired"`
}
func (*AmazonESIAM) GetBindInterface ¶
func (m *AmazonESIAM) GetBindInterface() string
GetBindInterface returns the bind interface of the AmazonESIAM.
func (*AmazonESIAM) GetEgressFilter ¶
func (m *AmazonESIAM) GetEgressFilter() string
GetEgressFilter returns the egress filter of the AmazonESIAM.
func (*AmazonESIAM) GetID ¶
func (m *AmazonESIAM) GetID() string
GetID returns the unique identifier of the AmazonESIAM.
func (*AmazonESIAM) GetName ¶
func (m *AmazonESIAM) GetName() string
GetName returns the name of the AmazonESIAM.
func (*AmazonESIAM) GetSecretStoreID ¶
func (m *AmazonESIAM) GetSecretStoreID() string
GetSecretStoreID returns the secret store id of the AmazonESIAM.
func (*AmazonESIAM) GetTags ¶
func (m *AmazonESIAM) GetTags() Tags
GetTags returns the tags of the AmazonESIAM.
func (*AmazonESIAM) SetBindInterface ¶
func (m *AmazonESIAM) SetBindInterface(v string)
SetBindInterface sets the bind interface of the AmazonESIAM.
func (*AmazonESIAM) SetEgressFilter ¶
func (m *AmazonESIAM) SetEgressFilter(v string)
SetEgressFilter sets the egress filter of the AmazonESIAM.
func (*AmazonESIAM) SetName ¶
func (m *AmazonESIAM) SetName(v string)
SetName sets the name of the AmazonESIAM.
func (*AmazonESIAM) SetSecretStoreID ¶
func (m *AmazonESIAM) SetSecretStoreID(v string)
SetSecretStoreID sets the secret store id of the AmazonESIAM.
func (*AmazonESIAM) SetTags ¶
func (m *AmazonESIAM) SetTags(v Tags)
SetTags sets the tags of the AmazonESIAM.
type AmazonMQAMQP091 ¶
type AmazonMQAMQP091 struct {
// The bind interface is the IP address to which the port override of a resource is bound (for example, 127.0.0.1). It is automatically generated if not provided and may also be set to one of the ResourceIPAllocationMode constants to select between VNM, loopback, or default allocation.
BindInterface string `json:"bindInterface"`
// A filter applied to the routing logic to pin datasource to nodes.
EgressFilter string `json:"egressFilter"`
// True if the datasource is reachable and the credentials are valid.
Healthy bool `json:"healthy"`
// The host to dial to initiate a connection from the egress node to this resource.
Hostname string `json:"hostname"`
// Unique identifier of the Resource.
ID string `json:"id"`
// Unique human-readable name of the Resource.
Name string `json:"name"`
// The password to authenticate with.
Password string `json:"password"`
// The port to dial to initiate a connection from the egress node to this resource.
Port int32 `json:"port"`
// The local port used by clients to connect to this resource. It is automatically generated if not provided on create and may be re-generated on update by specifying a value of -1.
PortOverride int32 `json:"portOverride"`
// ID of the proxy cluster for this resource, if any.
ProxyClusterID string `json:"proxyClusterId"`
// ID of the secret store containing credentials for this resource, if any.
SecretStoreID string `json:"secretStoreId"`
// DNS subdomain through which this resource may be accessed on clients. (e.g. "app-prod1" allows the resource to be accessed at "app-prod1.your-org-name.sdm-proxy-domain"). Only applicable to HTTP-based resources or resources using virtual networking mode.
Subdomain string `json:"subdomain"`
// Tags is a map of key, value pairs.
Tags Tags `json:"tags"`
// If set, TLS must be used to connect to this resource.
TlsRequired bool `json:"tlsRequired"`
// The username to authenticate with.
Username string `json:"username"`
}
func (*AmazonMQAMQP091) GetBindInterface ¶
func (m *AmazonMQAMQP091) GetBindInterface() string
GetBindInterface returns the bind interface of the AmazonMQAMQP091.
func (*AmazonMQAMQP091) GetEgressFilter ¶
func (m *AmazonMQAMQP091) GetEgressFilter() string
GetEgressFilter returns the egress filter of the AmazonMQAMQP091.
func (*AmazonMQAMQP091) GetID ¶
func (m *AmazonMQAMQP091) GetID() string
GetID returns the unique identifier of the AmazonMQAMQP091.
func (*AmazonMQAMQP091) GetName ¶
func (m *AmazonMQAMQP091) GetName() string
GetName returns the name of the AmazonMQAMQP091.
func (*AmazonMQAMQP091) GetSecretStoreID ¶
func (m *AmazonMQAMQP091) GetSecretStoreID() string
GetSecretStoreID returns the secret store id of the AmazonMQAMQP091.
func (*AmazonMQAMQP091) GetTags ¶
func (m *AmazonMQAMQP091) GetTags() Tags
GetTags returns the tags of the AmazonMQAMQP091.
func (*AmazonMQAMQP091) SetBindInterface ¶
func (m *AmazonMQAMQP091) SetBindInterface(v string)
SetBindInterface sets the bind interface of the AmazonMQAMQP091.
func (*AmazonMQAMQP091) SetEgressFilter ¶
func (m *AmazonMQAMQP091) SetEgressFilter(v string)
SetEgressFilter sets the egress filter of the AmazonMQAMQP091.
func (*AmazonMQAMQP091) SetName ¶
func (m *AmazonMQAMQP091) SetName(v string)
SetName sets the name of the AmazonMQAMQP091.
func (*AmazonMQAMQP091) SetSecretStoreID ¶
func (m *AmazonMQAMQP091) SetSecretStoreID(v string)
SetSecretStoreID sets the secret store id of the AmazonMQAMQP091.
func (*AmazonMQAMQP091) SetTags ¶
func (m *AmazonMQAMQP091) SetTags(v Tags)
SetTags sets the tags of the AmazonMQAMQP091.
type ApprovalFlowApprover ¶
type ApprovalFlowApprover struct {
// The approver account id.
AccountID string `json:"accountId"`
// The approver group id
GroupID string `json:"groupId"`
// A reference to an approver. Must be one of ApproverReference constants.
// If set, the account_id and role_id must be empty.
Reference string `json:"reference"`
// The approver role id
RoleID string `json:"roleId"`
}
An approver for an approval workflow step. Each approver can specify exactly one of: account_id, role_id, or reference
type ApprovalFlowStep ¶
type ApprovalFlowStep struct {
// The approvers for this approval step
Approvers []*ApprovalFlowApprover `json:"approvers"`
// Whether "any" or "all" approvers must approve for this approval step to pass. Optional, defaults to "any".
Quantifier string `json:"quantifier"`
// Duration after which this approval step will be skipped if no approval is given. Optional, if not provided an approver must approve before the step passes.
SkipAfter time.Duration `json:"skipAfter"`
}
An approval step for an approval workflow. Specifies approvers and conditions for approval to be granted.
type ApprovalWorkflow ¶
type ApprovalWorkflow struct {
// Approval mode of the ApprovalWorkflow
ApprovalMode string `json:"approvalMode"`
// The approval steps of this approval workflow
ApprovalWorkflowSteps []*ApprovalFlowStep `json:"approvalWorkflowSteps"`
// Optional description of the ApprovalWorkflow.
Description string `json:"description"`
// Unique identifier of the ApprovalWorkflow.
ID string `json:"id"`
// Unique human-readable name of the ApprovalWorkflow.
Name string `json:"name"`
}
ApprovalWorkflows are the mechanism by which requests for access can be viewed by authorized approvers and be approved or denied.
type ApprovalWorkflowApprover ¶
type ApprovalWorkflowApprover struct {
// The approver account id.
AccountID string `json:"accountId"`
// The approval flow id specified the approval workflow that this approver belongs to
ApprovalFlowID string `json:"approvalFlowId"`
// The approval step id specified the approval flow step that this approver belongs to
ApprovalStepID string `json:"approvalStepId"`
// Unique identifier of the ApprovalWorkflowApprover.
ID string `json:"id"`
// A reference to an approver. Will be one of ApproverReference constants.
// This field is only populated when reading historical Approval Workflow Approvers data through the Approval Workflows History API.
// For the deprecated Approval Workflow Approvers API no value is returned for this field and it is non-settable.
Reference string `json:"reference"`
// The approver role id
RoleID string `json:"roleId"`
}
ApprovalWorkflowApprover links an approval workflow approver to an ApprovalWorkflowStep Deprecated: see docs for more info.
type ApprovalWorkflowApproverCreateResponse ¶
type ApprovalWorkflowApproverCreateResponse struct {
// The created approval workflow approver.
ApprovalWorkflowApprover *ApprovalWorkflowApprover `json:"approvalWorkflowApprover"`
// Rate limit information.
RateLimit *RateLimitMetadata `json:"rateLimit"`
}
ApprovalWorkflowApproverCreateResponse reports how the ApprovalWorkflowApprover was created in the system.
type ApprovalWorkflowApproverDeleteResponse ¶
type ApprovalWorkflowApproverDeleteResponse struct {
// The deleted approval workflow approver id.
ID string `json:"id"`
// Rate limit information.
RateLimit *RateLimitMetadata `json:"rateLimit"`
}
ApprovalWorkflowApproverDeleteResponse returns information about an ApprovalWorkflowApprover that was deleted.
type ApprovalWorkflowApproverGetResponse ¶
type ApprovalWorkflowApproverGetResponse struct {
// The requested ApprovalWorkflowApprover.
ApprovalWorkflowApprover *ApprovalWorkflowApprover `json:"approvalWorkflowApprover"`
// Reserved for future use.
Meta *GetResponseMetadata `json:"meta"`
// Rate limit information.
RateLimit *RateLimitMetadata `json:"rateLimit"`
}
ApprovalWorkflowApproverGetResponse returns a requested ApprovalWorkflowApprover.
type ApprovalWorkflowApproverHistory ¶
type ApprovalWorkflowApproverHistory struct {
// The unique identifier of the Activity that produced this change to the ApprovalWorkflowApprover.
// May be empty for some system-initiated updates.
ActivityID string `json:"activityId"`
// The complete ApprovalWorkflowApprover state at this time.
ApprovalWorkflowApprover *ApprovalWorkflowApprover `json:"approvalWorkflowApprover"`
// If this ApprovalWorkflowApprover was deleted, the time it was deleted.
DeletedAt time.Time `json:"deletedAt"`
// The time at which the ApprovalWorkflowApprover state was recorded.
Timestamp time.Time `json:"timestamp"`
}
ApprovalWorkflowApproverHistory records the state of an ApprovalWorkflowApprover at a given point in time, where every change (create or delete) to an ApprovalWorkflowApprover produces an ApprovalWorkflowApproverHistory record.
type ApprovalWorkflowApproverHistoryIterator ¶
type ApprovalWorkflowApproverHistoryIterator interface {
// Next advances the iterator to the next item in the list. It returns
// true if an item is available to retrieve via the `Value()` function.
Next() bool
// Value returns the current item, if one is available.
Value() *ApprovalWorkflowApproverHistory
// Err returns the first error encountered during iteration, if any.
Err() error
}
ApprovalWorkflowApproverHistoryIterator provides read access to a list of ApprovalWorkflowApproverHistory. Use it like so:
for iterator.Next() {
approvalWorkflowApproverHistory := iterator.Value()
// ...
}
type ApprovalWorkflowApproverIterator ¶
type ApprovalWorkflowApproverIterator interface {
// Next advances the iterator to the next item in the list. It returns
// true if an item is available to retrieve via the `Value()` function.
Next() bool
// Value returns the current item, if one is available.
Value() *ApprovalWorkflowApprover
// Err returns the first error encountered during iteration, if any.
Err() error
}
ApprovalWorkflowApproverIterator provides read access to a list of ApprovalWorkflowApprover. Use it like so:
for iterator.Next() {
approvalWorkflowApprover := iterator.Value()
// ...
}
type ApprovalWorkflowApproverListResponse ¶
type ApprovalWorkflowApproverListResponse struct {
// Rate limit information.
RateLimit *RateLimitMetadata `json:"rateLimit"`
}
ApprovalWorkflowApproverListResponse returns a list of ApprovalWorkflowApprover records that meet the criteria of an ApprovalWorkflowApproverListRequest.
type ApprovalWorkflowApprovers ¶
type ApprovalWorkflowApprovers struct {
// contains filtered or unexported fields
}
ApprovalWorkflowApprovers link approval workflow approvers to an ApprovalWorkflowStep
func (*ApprovalWorkflowApprovers) Create
deprecated
func (svc *ApprovalWorkflowApprovers) Create( ctx context.Context, approvalWorkflowApprover *ApprovalWorkflowApprover) ( *ApprovalWorkflowApproverCreateResponse, error)
Deprecated: Create creates a new approval workflow approver.
func (*ApprovalWorkflowApprovers) Delete
deprecated
func (svc *ApprovalWorkflowApprovers) Delete( ctx context.Context, id string) ( *ApprovalWorkflowApproverDeleteResponse, error)
Deprecated: Delete deletes an existing approval workflow approver.
func (*ApprovalWorkflowApprovers) Get
deprecated
func (svc *ApprovalWorkflowApprovers) Get( ctx context.Context, id string) ( *ApprovalWorkflowApproverGetResponse, error)
Deprecated: Get reads one approval workflow approver by ID.
func (*ApprovalWorkflowApprovers) List
deprecated
func (svc *ApprovalWorkflowApprovers) List( ctx context.Context, filter string, args ...interface{}) ( ApprovalWorkflowApproverIterator, error)
Deprecated: Lists existing approval workflow approvers.
type ApprovalWorkflowApproversHistory ¶
type ApprovalWorkflowApproversHistory struct {
// contains filtered or unexported fields
}
ApprovalWorkflowApproversHistory records all changes to the state of an ApprovalWorkflowApprover.
func (*ApprovalWorkflowApproversHistory) List ¶
func (svc *ApprovalWorkflowApproversHistory) List( ctx context.Context, filter string, args ...interface{}) ( ApprovalWorkflowApproverHistoryIterator, error)
List gets a list of ApprovalWorkflowApproverHistory records matching a given set of criteria.
type ApprovalWorkflowCreateResponse ¶
type ApprovalWorkflowCreateResponse struct {
// The created approval workflow.
ApprovalWorkflow *ApprovalWorkflow `json:"approvalWorkflow"`
// Rate limit information.
RateLimit *RateLimitMetadata `json:"rateLimit"`
}
ApprovalWorkflowCreateResponse reports how the ApprovalWorkflow was created in the system.
type ApprovalWorkflowDeleteResponse ¶
type ApprovalWorkflowDeleteResponse struct {
// The deleted approval workflow id.
ID string `json:"id"`
// Rate limit information.
RateLimit *RateLimitMetadata `json:"rateLimit"`
}
ApprovalWorkflowDeleteResponse returns information about an ApprovalWorkflow that was deleted.
type ApprovalWorkflowGetResponse ¶
type ApprovalWorkflowGetResponse struct {
// The requested ApprovalWorkflow.
ApprovalWorkflow *ApprovalWorkflow `json:"approvalWorkflow"`
// Reserved for future use.
Meta *GetResponseMetadata `json:"meta"`
// Rate limit information.
RateLimit *RateLimitMetadata `json:"rateLimit"`
}
ApprovalWorkflowGetResponse returns a requested ApprovalWorkflow.
type ApprovalWorkflowHistory ¶
type ApprovalWorkflowHistory struct {
// The unique identifier of the Activity that produced this change to the ApprovalWorkflow.
// May be empty for some system-initiated updates.
ActivityID string `json:"activityId"`
// The complete ApprovalWorkflow state at this time.
ApprovalWorkflow *ApprovalWorkflow `json:"approvalWorkflow"`
// If this ApprovalWorkflow was deleted, the time it was deleted.
DeletedAt time.Time `json:"deletedAt"`
// The time at which the ApprovalWorkflow state was recorded.
Timestamp time.Time `json:"timestamp"`
}
ApprovalWorkflowHistory records the state of an ApprovalWorkflow at a given point in time, where every change (create, update and delete) to an ApprovalWorkflow produces an ApprovalWorkflowHistory record.
type ApprovalWorkflowHistoryIterator ¶
type ApprovalWorkflowHistoryIterator interface {
// Next advances the iterator to the next item in the list. It returns
// true if an item is available to retrieve via the `Value()` function.
Next() bool
// Value returns the current item, if one is available.
Value() *ApprovalWorkflowHistory
// Err returns the first error encountered during iteration, if any.
Err() error
}
ApprovalWorkflowHistoryIterator provides read access to a list of ApprovalWorkflowHistory. Use it like so:
for iterator.Next() {
approvalWorkflowHistory := iterator.Value()
// ...
}
type ApprovalWorkflowIterator ¶
type ApprovalWorkflowIterator interface {
// Next advances the iterator to the next item in the list. It returns
// true if an item is available to retrieve via the `Value()` function.
Next() bool
// Value returns the current item, if one is available.
Value() *ApprovalWorkflow
// Err returns the first error encountered during iteration, if any.
Err() error
}
ApprovalWorkflowIterator provides read access to a list of ApprovalWorkflow. Use it like so:
for iterator.Next() {
approvalWorkflow := iterator.Value()
// ...
}
type ApprovalWorkflowListResponse ¶
type ApprovalWorkflowListResponse struct {
// Rate limit information.
RateLimit *RateLimitMetadata `json:"rateLimit"`
}
ApprovalWorkflowListResponse returns a list of ApprovalWorkflow records that meet the criteria of an ApprovalWorkflowListRequest.
type ApprovalWorkflowStep ¶
type ApprovalWorkflowStep struct {
// The approval flow id specified the approval workflow that this step belongs to
ApprovalFlowID string `json:"approvalFlowId"`
// Unique identifier of the ApprovalWorkflowStep.
ID string `json:"id"`
// Whether "any" or "all" approvers must approve for this approval step to pass. Read only field for history commands.
Quantifier string `json:"quantifier"`
// Duration after which this approval step will be skipped if no approval is given. Read only field for history commands.
SkipAfter time.Duration `json:"skipAfter"`
// The position of the approval step in a sequence of approval steps for an approval workflow. Read only field for history commands.
StepOrder int32 `json:"stepOrder"`
}
ApprovalWorkflowStep links an approval workflow step to an ApprovalWorkflow Deprecated: see docs for more info.
type ApprovalWorkflowStepCreateResponse ¶
type ApprovalWorkflowStepCreateResponse struct {
// The created approval workflow step.
ApprovalWorkflowStep *ApprovalWorkflowStep `json:"approvalWorkflowStep"`
// Rate limit information.
RateLimit *RateLimitMetadata `json:"rateLimit"`
}
ApprovalWorkflowStepCreateResponse reports how the ApprovalWorkflowStep was created in the system.
type ApprovalWorkflowStepDeleteResponse ¶
type ApprovalWorkflowStepDeleteResponse struct {
// The deleted approval workflow step id.
ID string `json:"id"`
// Rate limit information.
RateLimit *RateLimitMetadata `json:"rateLimit"`
}
ApprovalWorkflowStepDeleteResponse returns information about an ApprovalWorkflowStep that was deleted.
type ApprovalWorkflowStepGetResponse ¶
type ApprovalWorkflowStepGetResponse struct {
// The requested ApprovalWorkflowStep.
ApprovalWorkflowStep *ApprovalWorkflowStep `json:"approvalWorkflowStep"`
// Reserved for future use.
Meta *GetResponseMetadata `json:"meta"`
// Rate limit information.
RateLimit *RateLimitMetadata `json:"rateLimit"`
}
ApprovalWorkflowStepGetResponse returns a requested ApprovalWorkflowStep.
type ApprovalWorkflowStepHistory ¶
type ApprovalWorkflowStepHistory struct {
// The unique identifier of the Activity that produced this change to the ApprovalWorkflowStep.
// May be empty for some system-initiated updates.
ActivityID string `json:"activityId"`
// The complete ApprovalWorkflowStep state at this time.
ApprovalWorkflowStep *ApprovalWorkflowStep `json:"approvalWorkflowStep"`
// If this ApprovalWorkflowStep was deleted, the time it was deleted.
DeletedAt time.Time `json:"deletedAt"`
// The time at which the ApprovalWorkflowStep state was recorded.
Timestamp time.Time `json:"timestamp"`
}
ApprovalWorkflowStepHistory records the state of an ApprovalWorkflowStep at a given point in time, where every change (create or delete) to an ApprovalWorkflowStep produces an ApprovalWorkflowStepHistory record.
type ApprovalWorkflowStepHistoryIterator ¶
type ApprovalWorkflowStepHistoryIterator interface {
// Next advances the iterator to the next item in the list. It returns
// true if an item is available to retrieve via the `Value()` function.
Next() bool
// Value returns the current item, if one is available.
Value() *ApprovalWorkflowStepHistory
// Err returns the first error encountered during iteration, if any.
Err() error
}
ApprovalWorkflowStepHistoryIterator provides read access to a list of ApprovalWorkflowStepHistory. Use it like so:
for iterator.Next() {
approvalWorkflowStepHistory := iterator.Value()
// ...
}
type ApprovalWorkflowStepIterator ¶
type ApprovalWorkflowStepIterator interface {
// Next advances the iterator to the next item in the list. It returns
// true if an item is available to retrieve via the `Value()` function.
Next() bool
// Value returns the current item, if one is available.
Value() *ApprovalWorkflowStep
// Err returns the first error encountered during iteration, if any.
Err() error
}
ApprovalWorkflowStepIterator provides read access to a list of ApprovalWorkflowStep. Use it like so:
for iterator.Next() {
approvalWorkflowStep := iterator.Value()
// ...
}
type ApprovalWorkflowStepListResponse ¶
type ApprovalWorkflowStepListResponse struct {
// Rate limit information.
RateLimit *RateLimitMetadata `json:"rateLimit"`
}
ApprovalWorkflowStepListResponse returns a list of ApprovalWorkflowStep records that meet the criteria of an ApprovalWorkflowStepListRequest.
type ApprovalWorkflowSteps ¶
type ApprovalWorkflowSteps struct {
// contains filtered or unexported fields
}
ApprovalWorkflowSteps link approval workflow steps to an ApprovalWorkflow
func (*ApprovalWorkflowSteps) Create
deprecated
func (svc *ApprovalWorkflowSteps) Create( ctx context.Context, approvalWorkflowStep *ApprovalWorkflowStep) ( *ApprovalWorkflowStepCreateResponse, error)
Deprecated: Create creates a new approval workflow step.
func (*ApprovalWorkflowSteps) Delete
deprecated
func (svc *ApprovalWorkflowSteps) Delete( ctx context.Context, id string) ( *ApprovalWorkflowStepDeleteResponse, error)
Deprecated: Delete deletes an existing approval workflow step.
func (*ApprovalWorkflowSteps) Get
deprecated
func (svc *ApprovalWorkflowSteps) Get( ctx context.Context, id string) ( *ApprovalWorkflowStepGetResponse, error)
Deprecated: Get reads one approval workflow step by ID.
func (*ApprovalWorkflowSteps) List
deprecated
func (svc *ApprovalWorkflowSteps) List( ctx context.Context, filter string, args ...interface{}) ( ApprovalWorkflowStepIterator, error)
Deprecated: Lists existing approval workflow steps.
type ApprovalWorkflowStepsHistory ¶
type ApprovalWorkflowStepsHistory struct {
// contains filtered or unexported fields
}
ApprovalWorkflowStepsHistory records all changes to the state of an ApprovalWorkflowStep.
func (*ApprovalWorkflowStepsHistory) List ¶
func (svc *ApprovalWorkflowStepsHistory) List( ctx context.Context, filter string, args ...interface{}) ( ApprovalWorkflowStepHistoryIterator, error)
List gets a list of ApprovalWorkflowStepHistory records matching a given set of criteria.
type ApprovalWorkflowUpdateResponse ¶
type ApprovalWorkflowUpdateResponse struct {
// The updated approval workflow.
ApprovalWorkflow *ApprovalWorkflow `json:"approvalWorkflow"`
// Rate limit information.
RateLimit *RateLimitMetadata `json:"rateLimit"`
}
ApprovalWorkflowUpdateResponse returns the fields of an ApprovalWorkflow after it has been updated by an ApprovalWorkflowUpdateRequest.
type ApprovalWorkflows ¶
type ApprovalWorkflows struct {
// contains filtered or unexported fields
}
ApprovalWorkflows are the mechanism by which requests for access can be viewed by authorized approvers and be approved or denied.
func (*ApprovalWorkflows) Create ¶
func (svc *ApprovalWorkflows) Create( ctx context.Context, approvalWorkflow *ApprovalWorkflow) ( *ApprovalWorkflowCreateResponse, error)
Create creates a new approval workflow and requires a name and approval mode for the approval workflow.
func (*ApprovalWorkflows) Delete ¶
func (svc *ApprovalWorkflows) Delete( ctx context.Context, id string) ( *ApprovalWorkflowDeleteResponse, error)
Delete deletes an existing approval workflow.
func (*ApprovalWorkflows) Get ¶
func (svc *ApprovalWorkflows) Get( ctx context.Context, id string) ( *ApprovalWorkflowGetResponse, error)
Get reads one approval workflow by ID.
func (*ApprovalWorkflows) List ¶
func (svc *ApprovalWorkflows) List( ctx context.Context, filter string, args ...interface{}) ( ApprovalWorkflowIterator, error)
Lists existing approval workflows.
func (*ApprovalWorkflows) Update ¶
func (svc *ApprovalWorkflows) Update( ctx context.Context, approvalWorkflow *ApprovalWorkflow) ( *ApprovalWorkflowUpdateResponse, error)
Update updates an existing approval workflow.
type ApprovalWorkflowsHistory ¶
type ApprovalWorkflowsHistory struct {
// contains filtered or unexported fields
}
ApprovalWorkflowsHistory records all changes to the state of an ApprovalWorkflow.
func (*ApprovalWorkflowsHistory) List ¶
func (svc *ApprovalWorkflowsHistory) List( ctx context.Context, filter string, args ...interface{}) ( ApprovalWorkflowHistoryIterator, error)
List gets a list of ApprovalWorkflowHistory records matching a given set of criteria.
type Athena ¶
type Athena struct {
// The Access Key ID to use to authenticate.
AccessKey string `json:"accessKey"`
// The bind interface is the IP address to which the port override of a resource is bound (for example, 127.0.0.1). It is automatically generated if not provided and may also be set to one of the ResourceIPAllocationMode constants to select between VNM, loopback, or default allocation.
BindInterface string `json:"bindInterface"`
// A filter applied to the routing logic to pin datasource to nodes.
EgressFilter string `json:"egressFilter"`
// True if the datasource is reachable and the credentials are valid.
Healthy bool `json:"healthy"`
// Unique identifier of the Resource.
ID string `json:"id"`
// Unique human-readable name of the Resource.
Name string `json:"name"`
// The AWS S3 output location.
Output string `json:"output"`
// The local port used by clients to connect to this resource. It is automatically generated if not provided on create and may be re-generated on update by specifying a value of -1.
PortOverride int32 `json:"portOverride"`
// ID of the proxy cluster for this resource, if any.
ProxyClusterID string `json:"proxyClusterId"`
// The AWS region to connect to e.g. us-east-1.
Region string `json:"region"`
// The role to assume after logging in.
RoleArn string `json:"roleArn"`
// The external ID to associate with assume role requests. Does nothing if a role ARN is not provided.
RoleExternalID string `json:"roleExternalId"`
// The Secret Access Key to use to authenticate.
SecretAccessKey string `json:"secretAccessKey"`
// ID of the secret store containing credentials for this resource, if any.
SecretStoreID string `json:"secretStoreId"`
// DNS subdomain through which this resource may be accessed on clients. (e.g. "app-prod1" allows the resource to be accessed at "app-prod1.your-org-name.sdm-proxy-domain"). Only applicable to HTTP-based resources or resources using virtual networking mode.
Subdomain string `json:"subdomain"`
// Tags is a map of key, value pairs.
Tags Tags `json:"tags"`
}
func (*Athena) GetBindInterface ¶
GetBindInterface returns the bind interface of the Athena.
func (*Athena) GetEgressFilter ¶
GetEgressFilter returns the egress filter of the Athena.
func (*Athena) GetSecretStoreID ¶
GetSecretStoreID returns the secret store id of the Athena.
func (*Athena) SetBindInterface ¶
SetBindInterface sets the bind interface of the Athena.
func (*Athena) SetEgressFilter ¶
SetEgressFilter sets the egress filter of the Athena.
func (*Athena) SetSecretStoreID ¶
SetSecretStoreID sets the secret store id of the Athena.
type AthenaIAM ¶
type AthenaIAM struct {
// The bind interface is the IP address to which the port override of a resource is bound (for example, 127.0.0.1). It is automatically generated if not provided and may also be set to one of the ResourceIPAllocationMode constants to select between VNM, loopback, or default allocation.
BindInterface string `json:"bindInterface"`
// A filter applied to the routing logic to pin datasource to nodes.
EgressFilter string `json:"egressFilter"`
// True if the datasource is reachable and the credentials are valid.
Healthy bool `json:"healthy"`
// Unique identifier of the Resource.
ID string `json:"id"`
// Unique human-readable name of the Resource.
Name string `json:"name"`
// The AWS S3 output location.
Output string `json:"output"`
// The local port used by clients to connect to this resource. It is automatically generated if not provided on create and may be re-generated on update by specifying a value of -1.
PortOverride int32 `json:"portOverride"`
// ID of the proxy cluster for this resource, if any.
ProxyClusterID string `json:"proxyClusterId"`
// The AWS region to connect to e.g. us-east-1.
Region string `json:"region"`
// The role to assume after logging in.
RoleArn string `json:"roleArn"`
// The external ID to associate with assume role requests. Does nothing if a role ARN is not provided.
RoleExternalID string `json:"roleExternalId"`
// ID of the secret store containing credentials for this resource, if any.
SecretStoreID string `json:"secretStoreId"`
// DNS subdomain through which this resource may be accessed on clients. (e.g. "app-prod1" allows the resource to be accessed at "app-prod1.your-org-name.sdm-proxy-domain"). Only applicable to HTTP-based resources or resources using virtual networking mode.
Subdomain string `json:"subdomain"`
// Tags is a map of key, value pairs.
Tags Tags `json:"tags"`
}
func (*AthenaIAM) GetBindInterface ¶
GetBindInterface returns the bind interface of the AthenaIAM.
func (*AthenaIAM) GetEgressFilter ¶
GetEgressFilter returns the egress filter of the AthenaIAM.
func (*AthenaIAM) GetSecretStoreID ¶
GetSecretStoreID returns the secret store id of the AthenaIAM.
func (*AthenaIAM) SetBindInterface ¶
SetBindInterface sets the bind interface of the AthenaIAM.
func (*AthenaIAM) SetEgressFilter ¶
SetEgressFilter sets the egress filter of the AthenaIAM.
func (*AthenaIAM) SetSecretStoreID ¶
SetSecretStoreID sets the secret store id of the AthenaIAM.
type AuroraMysql ¶
type AuroraMysql struct {
// The bind interface is the IP address to which the port override of a resource is bound (for example, 127.0.0.1). It is automatically generated if not provided and may also be set to one of the ResourceIPAllocationMode constants to select between VNM, loopback, or default allocation.
BindInterface string `json:"bindInterface"`
// The database for healthchecks. Does not affect client requests
Database string `json:"database"`
// A filter applied to the routing logic to pin datasource to nodes.
EgressFilter string `json:"egressFilter"`
// True if the datasource is reachable and the credentials are valid.
Healthy bool `json:"healthy"`
// The host to dial to initiate a connection from the egress node to this resource.
Hostname string `json:"hostname"`
// Unique identifier of the Resource.
ID string `json:"id"`
// Unique human-readable name of the Resource.
Name string `json:"name"`
// The password to authenticate with.
Password string `json:"password"`
// The port to dial to initiate a connection from the egress node to this resource.
Port int32 `json:"port"`
// The local port used by clients to connect to this resource. It is automatically generated if not provided on create and may be re-generated on update by specifying a value of -1.
PortOverride int32 `json:"portOverride"`
// ID of the proxy cluster for this resource, if any.
ProxyClusterID string `json:"proxyClusterId"`
// Whether native auth (mysql_native_password) is used for all connections (for backwards compatibility)
RequireNativeAuth bool `json:"requireNativeAuth"`
// ID of the secret store containing credentials for this resource, if any.
SecretStoreID string `json:"secretStoreId"`
// DNS subdomain through which this resource may be accessed on clients. (e.g. "app-prod1" allows the resource to be accessed at "app-prod1.your-org-name.sdm-proxy-domain"). Only applicable to HTTP-based resources or resources using virtual networking mode.
Subdomain string `json:"subdomain"`
// Tags is a map of key, value pairs.
Tags Tags `json:"tags"`
// If true, appends the hostname to the username when hitting a database.azure.com address
UseAzureSingleServerUsernames bool `json:"useAzureSingleServerUsernames"`
// The username to authenticate with.
Username string `json:"username"`
}
func (*AuroraMysql) GetBindInterface ¶
func (m *AuroraMysql) GetBindInterface() string
GetBindInterface returns the bind interface of the AuroraMysql.
func (*AuroraMysql) GetEgressFilter ¶
func (m *AuroraMysql) GetEgressFilter() string
GetEgressFilter returns the egress filter of the AuroraMysql.
func (*AuroraMysql) GetID ¶
func (m *AuroraMysql) GetID() string
GetID returns the unique identifier of the AuroraMysql.
func (*AuroraMysql) GetName ¶
func (m *AuroraMysql) GetName() string
GetName returns the name of the AuroraMysql.
func (*AuroraMysql) GetSecretStoreID ¶
func (m *AuroraMysql) GetSecretStoreID() string
GetSecretStoreID returns the secret store id of the AuroraMysql.
func (*AuroraMysql) GetTags ¶
func (m *AuroraMysql) GetTags() Tags
GetTags returns the tags of the AuroraMysql.
func (*AuroraMysql) SetBindInterface ¶
func (m *AuroraMysql) SetBindInterface(v string)
SetBindInterface sets the bind interface of the AuroraMysql.
func (*AuroraMysql) SetEgressFilter ¶
func (m *AuroraMysql) SetEgressFilter(v string)
SetEgressFilter sets the egress filter of the AuroraMysql.
func (*AuroraMysql) SetName ¶
func (m *AuroraMysql) SetName(v string)
SetName sets the name of the AuroraMysql.
func (*AuroraMysql) SetSecretStoreID ¶
func (m *AuroraMysql) SetSecretStoreID(v string)
SetSecretStoreID sets the secret store id of the AuroraMysql.
func (*AuroraMysql) SetTags ¶
func (m *AuroraMysql) SetTags(v Tags)
SetTags sets the tags of the AuroraMysql.
type AuroraMysqlIAM ¶
type AuroraMysqlIAM struct {
// The bind interface is the IP address to which the port override of a resource is bound (for example, 127.0.0.1). It is automatically generated if not provided and may also be set to one of the ResourceIPAllocationMode constants to select between VNM, loopback, or default allocation.
BindInterface string `json:"bindInterface"`
// The database for healthchecks. Does not affect client requests
Database string `json:"database"`
// A filter applied to the routing logic to pin datasource to nodes.
EgressFilter string `json:"egressFilter"`
// True if the datasource is reachable and the credentials are valid.
Healthy bool `json:"healthy"`
// The host to dial to initiate a connection from the egress node to this resource.
Hostname string `json:"hostname"`
// Unique identifier of the Resource.
ID string `json:"id"`
// Unique human-readable name of the Resource.
Name string `json:"name"`
// The port to dial to initiate a connection from the egress node to this resource.
Port int32 `json:"port"`
// The local port used by clients to connect to this resource. It is automatically generated if not provided on create and may be re-generated on update by specifying a value of -1.
PortOverride int32 `json:"portOverride"`
// ID of the proxy cluster for this resource, if any.
ProxyClusterID string `json:"proxyClusterId"`
// The AWS region to connect to.
Region string `json:"region"`
// If provided, the gateway/relay will try to assume this role instead of the underlying compute's role.
RoleAssumptionArn string `json:"roleAssumptionArn"`
// ID of the secret store containing credentials for this resource, if any.
SecretStoreID string `json:"secretStoreId"`
// DNS subdomain through which this resource may be accessed on clients. (e.g. "app-prod1" allows the resource to be accessed at "app-prod1.your-org-name.sdm-proxy-domain"). Only applicable to HTTP-based resources or resources using virtual networking mode.
Subdomain string `json:"subdomain"`
// Tags is a map of key, value pairs.
Tags Tags `json:"tags"`
// The username to authenticate with.
Username string `json:"username"`
}
func (*AuroraMysqlIAM) GetBindInterface ¶
func (m *AuroraMysqlIAM) GetBindInterface() string
GetBindInterface returns the bind interface of the AuroraMysqlIAM.
func (*AuroraMysqlIAM) GetEgressFilter ¶
func (m *AuroraMysqlIAM) GetEgressFilter() string
GetEgressFilter returns the egress filter of the AuroraMysqlIAM.
func (*AuroraMysqlIAM) GetID ¶
func (m *AuroraMysqlIAM) GetID() string
GetID returns the unique identifier of the AuroraMysqlIAM.
func (*AuroraMysqlIAM) GetName ¶
func (m *AuroraMysqlIAM) GetName() string
GetName returns the name of the AuroraMysqlIAM.
func (*AuroraMysqlIAM) GetSecretStoreID ¶
func (m *AuroraMysqlIAM) GetSecretStoreID() string
GetSecretStoreID returns the secret store id of the AuroraMysqlIAM.
func (*AuroraMysqlIAM) GetTags ¶
func (m *AuroraMysqlIAM) GetTags() Tags
GetTags returns the tags of the AuroraMysqlIAM.
func (*AuroraMysqlIAM) SetBindInterface ¶
func (m *AuroraMysqlIAM) SetBindInterface(v string)
SetBindInterface sets the bind interface of the AuroraMysqlIAM.
func (*AuroraMysqlIAM) SetEgressFilter ¶
func (m *AuroraMysqlIAM) SetEgressFilter(v string)
SetEgressFilter sets the egress filter of the AuroraMysqlIAM.
func (*AuroraMysqlIAM) SetName ¶
func (m *AuroraMysqlIAM) SetName(v string)
SetName sets the name of the AuroraMysqlIAM.
func (*AuroraMysqlIAM) SetSecretStoreID ¶
func (m *AuroraMysqlIAM) SetSecretStoreID(v string)
SetSecretStoreID sets the secret store id of the AuroraMysqlIAM.
func (*AuroraMysqlIAM) SetTags ¶
func (m *AuroraMysqlIAM) SetTags(v Tags)
SetTags sets the tags of the AuroraMysqlIAM.
type AuroraPostgres ¶
type AuroraPostgres struct {
// The bind interface is the IP address to which the port override of a resource is bound (for example, 127.0.0.1). It is automatically generated if not provided and may also be set to one of the ResourceIPAllocationMode constants to select between VNM, loopback, or default allocation.
BindInterface string `json:"bindInterface"`
// The initial database to connect to. This setting does not by itself prevent switching to another database after connecting.
Database string `json:"database"`
// A filter applied to the routing logic to pin datasource to nodes.
EgressFilter string `json:"egressFilter"`
// True if the datasource is reachable and the credentials are valid.
Healthy bool `json:"healthy"`
// The host to dial to initiate a connection from the egress node to this resource.
Hostname string `json:"hostname"`
// Unique identifier of the Resource.
ID string `json:"id"`
// Unique human-readable name of the Resource.
Name string `json:"name"`
// If set, the database configured cannot be changed by users. This setting is not recommended for most use cases, as some clients will insist their database has changed when it has not, leading to user confusion.
OverrideDatabase bool `json:"overrideDatabase"`
// The password to authenticate with.
Password string `json:"password"`
// The port to dial to initiate a connection from the egress node to this resource.
Port int32 `json:"port"`
// The local port used by clients to connect to this resource. It is automatically generated if not provided on create and may be re-generated on update by specifying a value of -1.
PortOverride int32 `json:"portOverride"`
// ID of the proxy cluster for this resource, if any.
ProxyClusterID string `json:"proxyClusterId"`
// ID of the secret store containing credentials for this resource, if any.
SecretStoreID string `json:"secretStoreId"`
// DNS subdomain through which this resource may be accessed on clients. (e.g. "app-prod1" allows the resource to be accessed at "app-prod1.your-org-name.sdm-proxy-domain"). Only applicable to HTTP-based resources or resources using virtual networking mode.
Subdomain string `json:"subdomain"`
// Tags is a map of key, value pairs.
Tags Tags `json:"tags"`
// The username to authenticate with.
Username string `json:"username"`
}
func (*AuroraPostgres) GetBindInterface ¶
func (m *AuroraPostgres) GetBindInterface() string
GetBindInterface returns the bind interface of the AuroraPostgres.
func (*AuroraPostgres) GetEgressFilter ¶
func (m *AuroraPostgres) GetEgressFilter() string
GetEgressFilter returns the egress filter of the AuroraPostgres.
func (*AuroraPostgres) GetID ¶
func (m *AuroraPostgres) GetID() string
GetID returns the unique identifier of the AuroraPostgres.
func (*AuroraPostgres) GetName ¶
func (m *AuroraPostgres) GetName() string
GetName returns the name of the AuroraPostgres.
func (*AuroraPostgres) GetSecretStoreID ¶
func (m *AuroraPostgres) GetSecretStoreID() string
GetSecretStoreID returns the secret store id of the AuroraPostgres.
func (*AuroraPostgres) GetTags ¶
func (m *AuroraPostgres) GetTags() Tags
GetTags returns the tags of the AuroraPostgres.
func (*AuroraPostgres) SetBindInterface ¶
func (m *AuroraPostgres) SetBindInterface(v string)
SetBindInterface sets the bind interface of the AuroraPostgres.
func (*AuroraPostgres) SetEgressFilter ¶
func (m *AuroraPostgres) SetEgressFilter(v string)
SetEgressFilter sets the egress filter of the AuroraPostgres.
func (*AuroraPostgres) SetName ¶
func (m *AuroraPostgres) SetName(v string)
SetName sets the name of the AuroraPostgres.
func (*AuroraPostgres) SetSecretStoreID ¶
func (m *AuroraPostgres) SetSecretStoreID(v string)
SetSecretStoreID sets the secret store id of the AuroraPostgres.
func (*AuroraPostgres) SetTags ¶
func (m *AuroraPostgres) SetTags(v Tags)
SetTags sets the tags of the AuroraPostgres.
type AuroraPostgresIAM ¶
type AuroraPostgresIAM struct {
// The bind interface is the IP address to which the port override of a resource is bound (for example, 127.0.0.1). It is automatically generated if not provided and may also be set to one of the ResourceIPAllocationMode constants to select between VNM, loopback, or default allocation.
BindInterface string `json:"bindInterface"`
// The initial database to connect to. This setting does not by itself prevent switching to another database after connecting.
Database string `json:"database"`
// A filter applied to the routing logic to pin datasource to nodes.
EgressFilter string `json:"egressFilter"`
// True if the datasource is reachable and the credentials are valid.
Healthy bool `json:"healthy"`
// The host to dial to initiate a connection from the egress node to this resource.
Hostname string `json:"hostname"`
// Unique identifier of the Resource.
ID string `json:"id"`
// Unique human-readable name of the Resource.
Name string `json:"name"`
// If set, the database configured cannot be changed by users. This setting is not recommended for most use cases, as some clients will insist their database has changed when it has not, leading to user confusion.
OverrideDatabase bool `json:"overrideDatabase"`
// The port to dial to initiate a connection from the egress node to this resource.
Port int32 `json:"port"`
// The local port used by clients to connect to this resource. It is automatically generated if not provided on create and may be re-generated on update by specifying a value of -1.
PortOverride int32 `json:"portOverride"`
// ID of the proxy cluster for this resource, if any.
ProxyClusterID string `json:"proxyClusterId"`
// The AWS region to connect to.
Region string `json:"region"`
// If provided, the gateway/relay will try to assume this role instead of the underlying compute's role.
RoleAssumptionArn string `json:"roleAssumptionArn"`
// ID of the secret store containing credentials for this resource, if any.
SecretStoreID string `json:"secretStoreId"`
// DNS subdomain through which this resource may be accessed on clients. (e.g. "app-prod1" allows the resource to be accessed at "app-prod1.your-org-name.sdm-proxy-domain"). Only applicable to HTTP-based resources or resources using virtual networking mode.
Subdomain string `json:"subdomain"`
// Tags is a map of key, value pairs.
Tags Tags `json:"tags"`
// The username to authenticate with.
Username string `json:"username"`
}
func (*AuroraPostgresIAM) GetBindInterface ¶
func (m *AuroraPostgresIAM) GetBindInterface() string
GetBindInterface returns the bind interface of the AuroraPostgresIAM.
func (*AuroraPostgresIAM) GetEgressFilter ¶
func (m *AuroraPostgresIAM) GetEgressFilter() string
GetEgressFilter returns the egress filter of the AuroraPostgresIAM.
func (*AuroraPostgresIAM) GetID ¶
func (m *AuroraPostgresIAM) GetID() string
GetID returns the unique identifier of the AuroraPostgresIAM.
func (*AuroraPostgresIAM) GetName ¶
func (m *AuroraPostgresIAM) GetName() string
GetName returns the name of the AuroraPostgresIAM.
func (*AuroraPostgresIAM) GetSecretStoreID ¶
func (m *AuroraPostgresIAM) GetSecretStoreID() string
GetSecretStoreID returns the secret store id of the AuroraPostgresIAM.
func (*AuroraPostgresIAM) GetTags ¶
func (m *AuroraPostgresIAM) GetTags() Tags
GetTags returns the tags of the AuroraPostgresIAM.
func (*AuroraPostgresIAM) SetBindInterface ¶
func (m *AuroraPostgresIAM) SetBindInterface(v string)
SetBindInterface sets the bind interface of the AuroraPostgresIAM.
func (*AuroraPostgresIAM) SetEgressFilter ¶
func (m *AuroraPostgresIAM) SetEgressFilter(v string)
SetEgressFilter sets the egress filter of the AuroraPostgresIAM.
func (*AuroraPostgresIAM) SetName ¶
func (m *AuroraPostgresIAM) SetName(v string)
SetName sets the name of the AuroraPostgresIAM.
func (*AuroraPostgresIAM) SetSecretStoreID ¶
func (m *AuroraPostgresIAM) SetSecretStoreID(v string)
SetSecretStoreID sets the secret store id of the AuroraPostgresIAM.
func (*AuroraPostgresIAM) SetTags ¶
func (m *AuroraPostgresIAM) SetTags(v Tags)
SetTags sets the tags of the AuroraPostgresIAM.
type AuthenticationError ¶
type AuthenticationError struct {
// Message is the error content.
Message string
}
AuthenticationError is used to specify an authentication failure condition
func (AuthenticationError) Code ¶
func (e AuthenticationError) Code() int
func (AuthenticationError) Error ¶
func (e AuthenticationError) Error() string
type Azure ¶
type Azure struct {
// The application ID to authenticate with.
AppID string `json:"appId"`
// The bind interface is the IP address to which the port override of a resource is bound (for example, 127.0.0.1). It is automatically generated if not provided and may also be set to one of the ResourceIPAllocationMode constants to select between VNM, loopback, or default allocation.
BindInterface string `json:"bindInterface"`
// A filter applied to the routing logic to pin datasource to nodes.
EgressFilter string `json:"egressFilter"`
// True if the datasource is reachable and the credentials are valid.
Healthy bool `json:"healthy"`
// Unique identifier of the Resource.
ID string `json:"id"`
// Unique human-readable name of the Resource.
Name string `json:"name"`
// The password to authenticate with.
Password string `json:"password"`
// The local port used by clients to connect to this resource. It is automatically generated if not provided on create and may be re-generated on update by specifying a value of -1.
PortOverride int32 `json:"portOverride"`
// ID of the proxy cluster for this resource, if any.
ProxyClusterID string `json:"proxyClusterId"`
// ID of the secret store containing credentials for this resource, if any.
SecretStoreID string `json:"secretStoreId"`
// DNS subdomain through which this resource may be accessed on clients. (e.g. "app-prod1" allows the resource to be accessed at "app-prod1.your-org-name.sdm-proxy-domain"). Only applicable to HTTP-based resources or resources using virtual networking mode.
Subdomain string `json:"subdomain"`
// Tags is a map of key, value pairs.
Tags Tags `json:"tags"`
// The tenant ID to authenticate to.
TenantID string `json:"tenantId"`
}
func (*Azure) GetBindInterface ¶
GetBindInterface returns the bind interface of the Azure.
func (*Azure) GetEgressFilter ¶
GetEgressFilter returns the egress filter of the Azure.
func (*Azure) GetSecretStoreID ¶
GetSecretStoreID returns the secret store id of the Azure.
func (*Azure) SetBindInterface ¶
SetBindInterface sets the bind interface of the Azure.
func (*Azure) SetEgressFilter ¶
SetEgressFilter sets the egress filter of the Azure.
func (*Azure) SetSecretStoreID ¶
SetSecretStoreID sets the secret store id of the Azure.
type AzureCertificate ¶
type AzureCertificate struct {
// The application ID to authenticate with.
AppID string `json:"appId"`
// The bind interface is the IP address to which the port override of a resource is bound (for example, 127.0.0.1). It is automatically generated if not provided and may also be set to one of the ResourceIPAllocationMode constants to select between VNM, loopback, or default allocation.
BindInterface string `json:"bindInterface"`
// The service Principal certificate file, both private and public key included.
ClientCertificate string `json:"clientCertificate"`
// A filter applied to the routing logic to pin datasource to nodes.
EgressFilter string `json:"egressFilter"`
// True if the datasource is reachable and the credentials are valid.
Healthy bool `json:"healthy"`
// Unique identifier of the Resource.
ID string `json:"id"`
// Unique human-readable name of the Resource.
Name string `json:"name"`
// The local port used by clients to connect to this resource. It is automatically generated if not provided on create and may be re-generated on update by specifying a value of -1.
PortOverride int32 `json:"portOverride"`
// ID of the proxy cluster for this resource, if any.
ProxyClusterID string `json:"proxyClusterId"`
// ID of the secret store containing credentials for this resource, if any.
SecretStoreID string `json:"secretStoreId"`
// DNS subdomain through which this resource may be accessed on clients. (e.g. "app-prod1" allows the resource to be accessed at "app-prod1.your-org-name.sdm-proxy-domain"). Only applicable to HTTP-based resources or resources using virtual networking mode.
Subdomain string `json:"subdomain"`
// Tags is a map of key, value pairs.
Tags Tags `json:"tags"`
// The tenant ID to authenticate to.
TenantID string `json:"tenantId"`
}
func (*AzureCertificate) GetBindInterface ¶
func (m *AzureCertificate) GetBindInterface() string
GetBindInterface returns the bind interface of the AzureCertificate.
func (*AzureCertificate) GetEgressFilter ¶
func (m *AzureCertificate) GetEgressFilter() string
GetEgressFilter returns the egress filter of the AzureCertificate.
func (*AzureCertificate) GetID ¶
func (m *AzureCertificate) GetID() string
GetID returns the unique identifier of the AzureCertificate.
func (*AzureCertificate) GetName ¶
func (m *AzureCertificate) GetName() string
GetName returns the name of the AzureCertificate.
func (*AzureCertificate) GetSecretStoreID ¶
func (m *AzureCertificate) GetSecretStoreID() string
GetSecretStoreID returns the secret store id of the AzureCertificate.
func (*AzureCertificate) GetTags ¶
func (m *AzureCertificate) GetTags() Tags
GetTags returns the tags of the AzureCertificate.
func (*AzureCertificate) SetBindInterface ¶
func (m *AzureCertificate) SetBindInterface(v string)
SetBindInterface sets the bind interface of the AzureCertificate.
func (*AzureCertificate) SetEgressFilter ¶
func (m *AzureCertificate) SetEgressFilter(v string)
SetEgressFilter sets the egress filter of the AzureCertificate.
func (*AzureCertificate) SetName ¶
func (m *AzureCertificate) SetName(v string)
SetName sets the name of the AzureCertificate.
func (*AzureCertificate) SetSecretStoreID ¶
func (m *AzureCertificate) SetSecretStoreID(v string)
SetSecretStoreID sets the secret store id of the AzureCertificate.
func (*AzureCertificate) SetTags ¶
func (m *AzureCertificate) SetTags(v Tags)
SetTags sets the tags of the AzureCertificate.
type AzureConnector ¶
type AzureConnector struct {
// ClientId is the ID of the Application / Service Account we're acting as
ClientID string `json:"clientId"`
// Description of the Connector.
Description string `json:"description"`
// ExcludeTags filters out discovered resources that have the tag and value.
// We do allow duplicate tag names for ExcludeTags to support multiple excluded values for the tag.
ExcludeTags []*Tag `json:"excludeTags"`
// Unique identifier of the Connector.
ID string `json:"id"`
// IncludeTags only discovers cloud resources that have one of the included tags.
// We do not allow duplicate tag names for IncludeTags
IncludeTags []*Tag `json:"includeTags"`
// Unique human-readable name of the Connector.
Name string `json:"name"`
// ScanPeriod identifies which remote system this Connector discovers
ScanPeriod string `json:"scanPeriod"`
// Services is a list of services this connector should scan.
Services []string `json:"services"`
// SubscriptionIds are the targets of discovery.
SubscriptionIDs []string `json:"subscriptionIds"`
// TenantId is the Azure Tenant we're discovering in
TenantID string `json:"tenantId"`
}
func (*AzureConnector) GetDescription ¶
func (m *AzureConnector) GetDescription() string
GetDescription returns the description of the AzureConnector.
func (*AzureConnector) GetExcludeTags ¶
func (m *AzureConnector) GetExcludeTags() []*Tag
GetExcludeTags returns the exclude tags of the AzureConnector.
func (*AzureConnector) GetID ¶
func (m *AzureConnector) GetID() string
GetID returns the unique identifier of the AzureConnector.
func (*AzureConnector) GetIncludeTags ¶
func (m *AzureConnector) GetIncludeTags() []*Tag
GetIncludeTags returns the include tags of the AzureConnector.
func (*AzureConnector) GetName ¶
func (m *AzureConnector) GetName() string
GetName returns the name of the AzureConnector.
func (*AzureConnector) GetScanPeriod ¶
func (m *AzureConnector) GetScanPeriod() string
GetScanPeriod returns the scan period of the AzureConnector.
func (*AzureConnector) GetServices ¶
func (m *AzureConnector) GetServices() []string
GetServices returns the services of the AzureConnector.
func (*AzureConnector) SetDescription ¶
func (m *AzureConnector) SetDescription(v string)
SetDescription sets the description of the AzureConnector.
func (*AzureConnector) SetExcludeTags ¶
func (m *AzureConnector) SetExcludeTags(v []*Tag)
SetExcludeTags sets the exclude tags of the AzureConnector.
func (*AzureConnector) SetIncludeTags ¶
func (m *AzureConnector) SetIncludeTags(v []*Tag)
SetIncludeTags sets the include tags of the AzureConnector.
func (*AzureConnector) SetName ¶
func (m *AzureConnector) SetName(v string)
SetName sets the name of the AzureConnector.
func (*AzureConnector) SetScanPeriod ¶
func (m *AzureConnector) SetScanPeriod(v string)
SetScanPeriod sets the scan period of the AzureConnector.
func (*AzureConnector) SetServices ¶
func (m *AzureConnector) SetServices(v []string)
SetServices sets the services of the AzureConnector.
type AzureMysql ¶
type AzureMysql struct {
// The bind interface is the IP address to which the port override of a resource is bound (for example, 127.0.0.1). It is automatically generated if not provided and may also be set to one of the ResourceIPAllocationMode constants to select between VNM, loopback, or default allocation.
BindInterface string `json:"bindInterface"`
// The database for healthchecks. Does not affect client requests.
Database string `json:"database"`
// A filter applied to the routing logic to pin datasource to nodes.
EgressFilter string `json:"egressFilter"`
// True if the datasource is reachable and the credentials are valid.
Healthy bool `json:"healthy"`
// The host to dial to initiate a connection from the egress node to this resource.
Hostname string `json:"hostname"`
// Unique identifier of the Resource.
ID string `json:"id"`
// Unique human-readable name of the Resource.
Name string `json:"name"`
// The password to authenticate with.
Password string `json:"password"`
// The port to dial to initiate a connection from the egress node to this resource.
Port int32 `json:"port"`
// The local port used by clients to connect to this resource. It is automatically generated if not provided on create and may be re-generated on update by specifying a value of -1.
PortOverride int32 `json:"portOverride"`
// ID of the proxy cluster for this resource, if any.
ProxyClusterID string `json:"proxyClusterId"`
// Whether native auth (mysql_native_password) is used for all connections (for backwards compatibility)
RequireNativeAuth bool `json:"requireNativeAuth"`
// ID of the secret store containing credentials for this resource, if any.
SecretStoreID string `json:"secretStoreId"`
// DNS subdomain through which this resource may be accessed on clients. (e.g. "app-prod1" allows the resource to be accessed at "app-prod1.your-org-name.sdm-proxy-domain"). Only applicable to HTTP-based resources or resources using virtual networking mode.
Subdomain string `json:"subdomain"`
// Tags is a map of key, value pairs.
Tags Tags `json:"tags"`
// If true, appends the hostname to the username when hitting a database.azure.com address
UseAzureSingleServerUsernames bool `json:"useAzureSingleServerUsernames"`
// The username to authenticate with.
Username string `json:"username"`
}
func (*AzureMysql) GetBindInterface ¶
func (m *AzureMysql) GetBindInterface() string
GetBindInterface returns the bind interface of the AzureMysql.
func (*AzureMysql) GetEgressFilter ¶
func (m *AzureMysql) GetEgressFilter() string
GetEgressFilter returns the egress filter of the AzureMysql.
func (*AzureMysql) GetID ¶
func (m *AzureMysql) GetID() string
GetID returns the unique identifier of the AzureMysql.
func (*AzureMysql) GetName ¶
func (m *AzureMysql) GetName() string
GetName returns the name of the AzureMysql.
func (*AzureMysql) GetSecretStoreID ¶
func (m *AzureMysql) GetSecretStoreID() string
GetSecretStoreID returns the secret store id of the AzureMysql.
func (*AzureMysql) GetTags ¶
func (m *AzureMysql) GetTags() Tags
GetTags returns the tags of the AzureMysql.
func (*AzureMysql) SetBindInterface ¶
func (m *AzureMysql) SetBindInterface(v string)
SetBindInterface sets the bind interface of the AzureMysql.
func (*AzureMysql) SetEgressFilter ¶
func (m *AzureMysql) SetEgressFilter(v string)
SetEgressFilter sets the egress filter of the AzureMysql.
func (*AzureMysql) SetName ¶
func (m *AzureMysql) SetName(v string)
SetName sets the name of the AzureMysql.
func (*AzureMysql) SetSecretStoreID ¶
func (m *AzureMysql) SetSecretStoreID(v string)
SetSecretStoreID sets the secret store id of the AzureMysql.
func (*AzureMysql) SetTags ¶
func (m *AzureMysql) SetTags(v Tags)
SetTags sets the tags of the AzureMysql.
type AzureMysqlManagedIdentity ¶
type AzureMysqlManagedIdentity struct {
// The bind interface is the IP address to which the port override of a resource is bound (for example, 127.0.0.1). It is automatically generated if not provided and may also be set to one of the ResourceIPAllocationMode constants to select between VNM, loopback, or default allocation.
BindInterface string `json:"bindInterface"`
// The database for healthchecks. Does not affect client requests.
Database string `json:"database"`
// A filter applied to the routing logic to pin datasource to nodes.
EgressFilter string `json:"egressFilter"`
// True if the datasource is reachable and the credentials are valid.
Healthy bool `json:"healthy"`
// The host to dial to initiate a connection from the egress node to this resource.
Hostname string `json:"hostname"`
// Unique identifier of the Resource.
ID string `json:"id"`
// Unique human-readable name of the Resource.
Name string `json:"name"`
// The password to authenticate with.
Password string `json:"password"`
// The port to dial to initiate a connection from the egress node to this resource.
Port int32 `json:"port"`
// The local port used by clients to connect to this resource. It is automatically generated if not provided on create and may be re-generated on update by specifying a value of -1.
PortOverride int32 `json:"portOverride"`
// ID of the proxy cluster for this resource, if any.
ProxyClusterID string `json:"proxyClusterId"`
// ID of the secret store containing credentials for this resource, if any.
SecretStoreID string `json:"secretStoreId"`
// DNS subdomain through which this resource may be accessed on clients. (e.g. "app-prod1" allows the resource to be accessed at "app-prod1.your-org-name.sdm-proxy-domain"). Only applicable to HTTP-based resources or resources using virtual networking mode.
Subdomain string `json:"subdomain"`
// Tags is a map of key, value pairs.
Tags Tags `json:"tags"`
// If true, appends the hostname to the username when hitting a database.azure.com address
UseAzureSingleServerUsernames bool `json:"useAzureSingleServerUsernames"`
// The username to authenticate with.
Username string `json:"username"`
}
func (*AzureMysqlManagedIdentity) GetBindInterface ¶
func (m *AzureMysqlManagedIdentity) GetBindInterface() string
GetBindInterface returns the bind interface of the AzureMysqlManagedIdentity.
func (*AzureMysqlManagedIdentity) GetEgressFilter ¶
func (m *AzureMysqlManagedIdentity) GetEgressFilter() string
GetEgressFilter returns the egress filter of the AzureMysqlManagedIdentity.
func (*AzureMysqlManagedIdentity) GetID ¶
func (m *AzureMysqlManagedIdentity) GetID() string
GetID returns the unique identifier of the AzureMysqlManagedIdentity.
func (*AzureMysqlManagedIdentity) GetName ¶
func (m *AzureMysqlManagedIdentity) GetName() string
GetName returns the name of the AzureMysqlManagedIdentity.
func (*AzureMysqlManagedIdentity) GetSecretStoreID ¶
func (m *AzureMysqlManagedIdentity) GetSecretStoreID() string
GetSecretStoreID returns the secret store id of the AzureMysqlManagedIdentity.
func (*AzureMysqlManagedIdentity) GetTags ¶
func (m *AzureMysqlManagedIdentity) GetTags() Tags
GetTags returns the tags of the AzureMysqlManagedIdentity.
func (*AzureMysqlManagedIdentity) SetBindInterface ¶
func (m *AzureMysqlManagedIdentity) SetBindInterface(v string)
SetBindInterface sets the bind interface of the AzureMysqlManagedIdentity.
func (*AzureMysqlManagedIdentity) SetEgressFilter ¶
func (m *AzureMysqlManagedIdentity) SetEgressFilter(v string)
SetEgressFilter sets the egress filter of the AzureMysqlManagedIdentity.
func (*AzureMysqlManagedIdentity) SetName ¶
func (m *AzureMysqlManagedIdentity) SetName(v string)
SetName sets the name of the AzureMysqlManagedIdentity.
func (*AzureMysqlManagedIdentity) SetSecretStoreID ¶
func (m *AzureMysqlManagedIdentity) SetSecretStoreID(v string)
SetSecretStoreID sets the secret store id of the AzureMysqlManagedIdentity.
func (*AzureMysqlManagedIdentity) SetTags ¶
func (m *AzureMysqlManagedIdentity) SetTags(v Tags)
SetTags sets the tags of the AzureMysqlManagedIdentity.
type AzurePostgres ¶
type AzurePostgres struct {
// The bind interface is the IP address to which the port override of a resource is bound (for example, 127.0.0.1). It is automatically generated if not provided and may also be set to one of the ResourceIPAllocationMode constants to select between VNM, loopback, or default allocation.
BindInterface string `json:"bindInterface"`
// The initial database to connect to. This setting does not by itself prevent switching to another database after connecting.
Database string `json:"database"`
// A filter applied to the routing logic to pin datasource to nodes.
EgressFilter string `json:"egressFilter"`
// True if the datasource is reachable and the credentials are valid.
Healthy bool `json:"healthy"`
// The host to dial to initiate a connection from the egress node to this resource.
Hostname string `json:"hostname"`
// Unique identifier of the Resource.
ID string `json:"id"`
// Unique human-readable name of the Resource.
Name string `json:"name"`
// If set, the database configured cannot be changed by users. This setting is not recommended for most use cases, as some clients will insist their database has changed when it has not, leading to user confusion.
OverrideDatabase bool `json:"overrideDatabase"`
// The password to authenticate with.
Password string `json:"password"`
// The port to dial to initiate a connection from the egress node to this resource.
Port int32 `json:"port"`
// The local port used by clients to connect to this resource. It is automatically generated if not provided on create and may be re-generated on update by specifying a value of -1.
PortOverride int32 `json:"portOverride"`
// ID of the proxy cluster for this resource, if any.
ProxyClusterID string `json:"proxyClusterId"`
// ID of the secret store containing credentials for this resource, if any.
SecretStoreID string `json:"secretStoreId"`
// DNS subdomain through which this resource may be accessed on clients. (e.g. "app-prod1" allows the resource to be accessed at "app-prod1.your-org-name.sdm-proxy-domain"). Only applicable to HTTP-based resources or resources using virtual networking mode.
Subdomain string `json:"subdomain"`
// Tags is a map of key, value pairs.
Tags Tags `json:"tags"`
// The username to authenticate with. For Azure Postgres, this also will include the hostname of the target server for Azure Single Server compatibility. For Flexible servers, use the normal Postgres type.
Username string `json:"username"`
}
func (*AzurePostgres) GetBindInterface ¶
func (m *AzurePostgres) GetBindInterface() string
GetBindInterface returns the bind interface of the AzurePostgres.
func (*AzurePostgres) GetEgressFilter ¶
func (m *AzurePostgres) GetEgressFilter() string
GetEgressFilter returns the egress filter of the AzurePostgres.
func (*AzurePostgres) GetID ¶
func (m *AzurePostgres) GetID() string
GetID returns the unique identifier of the AzurePostgres.
func (*AzurePostgres) GetName ¶
func (m *AzurePostgres) GetName() string
GetName returns the name of the AzurePostgres.
func (*AzurePostgres) GetSecretStoreID ¶
func (m *AzurePostgres) GetSecretStoreID() string
GetSecretStoreID returns the secret store id of the AzurePostgres.
func (*AzurePostgres) GetTags ¶
func (m *AzurePostgres) GetTags() Tags
GetTags returns the tags of the AzurePostgres.
func (*AzurePostgres) SetBindInterface ¶
func (m *AzurePostgres) SetBindInterface(v string)
SetBindInterface sets the bind interface of the AzurePostgres.
func (*AzurePostgres) SetEgressFilter ¶
func (m *AzurePostgres) SetEgressFilter(v string)
SetEgressFilter sets the egress filter of the AzurePostgres.
func (*AzurePostgres) SetName ¶
func (m *AzurePostgres) SetName(v string)
SetName sets the name of the AzurePostgres.
func (*AzurePostgres) SetSecretStoreID ¶
func (m *AzurePostgres) SetSecretStoreID(v string)
SetSecretStoreID sets the secret store id of the AzurePostgres.
func (*AzurePostgres) SetTags ¶
func (m *AzurePostgres) SetTags(v Tags)
SetTags sets the tags of the AzurePostgres.
type AzurePostgresManagedIdentity ¶
type AzurePostgresManagedIdentity struct {
// The bind interface is the IP address to which the port override of a resource is bound (for example, 127.0.0.1). It is automatically generated if not provided and may also be set to one of the ResourceIPAllocationMode constants to select between VNM, loopback, or default allocation.
BindInterface string `json:"bindInterface"`
// The initial database to connect to. This setting does not by itself prevent switching to another database after connecting.
Database string `json:"database"`
// A filter applied to the routing logic to pin datasource to nodes.
EgressFilter string `json:"egressFilter"`
// True if the datasource is reachable and the credentials are valid.
Healthy bool `json:"healthy"`
// The host to dial to initiate a connection from the egress node to this resource.
Hostname string `json:"hostname"`
// Unique identifier of the Resource.
ID string `json:"id"`
// Unique human-readable name of the Resource.
Name string `json:"name"`
// If set, the database configured cannot be changed by users. This setting is not recommended for most use cases, as some clients will insist their database has changed when it has not, leading to user confusion.
OverrideDatabase bool `json:"overrideDatabase"`
// The password to authenticate with.
Password string `json:"password"`
// The port to dial to initiate a connection from the egress node to this resource.
Port int32 `json:"port"`
// The local port used by clients to connect to this resource. It is automatically generated if not provided on create and may be re-generated on update by specifying a value of -1.
PortOverride int32 `json:"portOverride"`
// ID of the proxy cluster for this resource, if any.
ProxyClusterID string `json:"proxyClusterId"`
// ID of the secret store containing credentials for this resource, if any.
SecretStoreID string `json:"secretStoreId"`
// DNS subdomain through which this resource may be accessed on clients. (e.g. "app-prod1" allows the resource to be accessed at "app-prod1.your-org-name.sdm-proxy-domain"). Only applicable to HTTP-based resources or resources using virtual networking mode.
Subdomain string `json:"subdomain"`
// Tags is a map of key, value pairs.
Tags Tags `json:"tags"`
// If true, appends the hostname to the username when hitting a database.azure.com address
UseAzureSingleServerUsernames bool `json:"useAzureSingleServerUsernames"`
// The username to authenticate with.
Username string `json:"username"`
}
func (*AzurePostgresManagedIdentity) GetBindInterface ¶
func (m *AzurePostgresManagedIdentity) GetBindInterface() string
GetBindInterface returns the bind interface of the AzurePostgresManagedIdentity.
func (*AzurePostgresManagedIdentity) GetEgressFilter ¶
func (m *AzurePostgresManagedIdentity) GetEgressFilter() string
GetEgressFilter returns the egress filter of the AzurePostgresManagedIdentity.
func (*AzurePostgresManagedIdentity) GetID ¶
func (m *AzurePostgresManagedIdentity) GetID() string
GetID returns the unique identifier of the AzurePostgresManagedIdentity.
func (*AzurePostgresManagedIdentity) GetName ¶
func (m *AzurePostgresManagedIdentity) GetName() string
GetName returns the name of the AzurePostgresManagedIdentity.
func (*AzurePostgresManagedIdentity) GetSecretStoreID ¶
func (m *AzurePostgresManagedIdentity) GetSecretStoreID() string
GetSecretStoreID returns the secret store id of the AzurePostgresManagedIdentity.
func (*AzurePostgresManagedIdentity) GetTags ¶
func (m *AzurePostgresManagedIdentity) GetTags() Tags
GetTags returns the tags of the AzurePostgresManagedIdentity.
func (*AzurePostgresManagedIdentity) SetBindInterface ¶
func (m *AzurePostgresManagedIdentity) SetBindInterface(v string)
SetBindInterface sets the bind interface of the AzurePostgresManagedIdentity.
func (*AzurePostgresManagedIdentity) SetEgressFilter ¶
func (m *AzurePostgresManagedIdentity) SetEgressFilter(v string)
SetEgressFilter sets the egress filter of the AzurePostgresManagedIdentity.
func (*AzurePostgresManagedIdentity) SetName ¶
func (m *AzurePostgresManagedIdentity) SetName(v string)
SetName sets the name of the AzurePostgresManagedIdentity.
func (*AzurePostgresManagedIdentity) SetSecretStoreID ¶
func (m *AzurePostgresManagedIdentity) SetSecretStoreID(v string)
SetSecretStoreID sets the secret store id of the AzurePostgresManagedIdentity.
func (*AzurePostgresManagedIdentity) SetTags ¶
func (m *AzurePostgresManagedIdentity) SetTags(v Tags)
SetTags sets the tags of the AzurePostgresManagedIdentity.
type AzureStore ¶
type AzureStore struct {
// Unique identifier of the SecretStore.
ID string `json:"id"`
// Unique human-readable name of the SecretStore.
Name string `json:"name"`
// Tags is a map of key, value pairs.
Tags Tags `json:"tags"`
// The URI of the key vault to target e.g. https://myvault.vault.azure.net
VaultUri string `json:"vaultUri"`
}
func (*AzureStore) GetID ¶
func (m *AzureStore) GetID() string
GetID returns the unique identifier of the AzureStore.
func (*AzureStore) GetName ¶
func (m *AzureStore) GetName() string
GetName returns the name of the AzureStore.
func (*AzureStore) GetTags ¶
func (m *AzureStore) GetTags() Tags
GetTags returns the tags of the AzureStore.
func (*AzureStore) SetName ¶
func (m *AzureStore) SetName(v string)
SetName sets the name of the AzureStore.
func (*AzureStore) SetTags ¶
func (m *AzureStore) SetTags(v Tags)
SetTags sets the tags of the AzureStore.
type BadRequestError ¶
type BadRequestError struct {
// Message is the error content.
Message string
}
BadRequestError identifies a bad request sent by the client
func (BadRequestError) Code ¶
func (e BadRequestError) Code() int
func (BadRequestError) Error ¶
func (e BadRequestError) Error() string
type BigQuery ¶
type BigQuery struct {
// The bind interface is the IP address to which the port override of a resource is bound (for example, 127.0.0.1). It is automatically generated if not provided and may also be set to one of the ResourceIPAllocationMode constants to select between VNM, loopback, or default allocation.
BindInterface string `json:"bindInterface"`
// A filter applied to the routing logic to pin datasource to nodes.
EgressFilter string `json:"egressFilter"`
// The endpoint to dial.
Endpoint string `json:"endpoint"`
// True if the datasource is reachable and the credentials are valid.
Healthy bool `json:"healthy"`
// Unique identifier of the Resource.
ID string `json:"id"`
// Unique human-readable name of the Resource.
Name string `json:"name"`
// The local port used by clients to connect to this resource. It is automatically generated if not provided on create and may be re-generated on update by specifying a value of -1.
PortOverride int32 `json:"portOverride"`
// The JSON Private key to authenticate with.
PrivateKey string `json:"privateKey"`
// The project to connect to.
Project string `json:"project"`
// ID of the proxy cluster for this resource, if any.
ProxyClusterID string `json:"proxyClusterId"`
// ID of the secret store containing credentials for this resource, if any.
SecretStoreID string `json:"secretStoreId"`
// DNS subdomain through which this resource may be accessed on clients. (e.g. "app-prod1" allows the resource to be accessed at "app-prod1.your-org-name.sdm-proxy-domain"). Only applicable to HTTP-based resources or resources using virtual networking mode.
Subdomain string `json:"subdomain"`
// Tags is a map of key, value pairs.
Tags Tags `json:"tags"`
// The username to authenticate with.
Username string `json:"username"`
}
func (*BigQuery) GetBindInterface ¶
GetBindInterface returns the bind interface of the BigQuery.
func (*BigQuery) GetEgressFilter ¶
GetEgressFilter returns the egress filter of the BigQuery.
func (*BigQuery) GetSecretStoreID ¶
GetSecretStoreID returns the secret store id of the BigQuery.
func (*BigQuery) SetBindInterface ¶
SetBindInterface sets the bind interface of the BigQuery.
func (*BigQuery) SetEgressFilter ¶
SetEgressFilter sets the egress filter of the BigQuery.
func (*BigQuery) SetSecretStoreID ¶
SetSecretStoreID sets the secret store id of the BigQuery.
type Cassandra ¶
type Cassandra struct {
// The bind interface is the IP address to which the port override of a resource is bound (for example, 127.0.0.1). It is automatically generated if not provided and may also be set to one of the ResourceIPAllocationMode constants to select between VNM, loopback, or default allocation.
BindInterface string `json:"bindInterface"`
// A filter applied to the routing logic to pin datasource to nodes.
EgressFilter string `json:"egressFilter"`
// True if the datasource is reachable and the credentials are valid.
Healthy bool `json:"healthy"`
// The host to dial to initiate a connection from the egress node to this resource.
Hostname string `json:"hostname"`
// Unique identifier of the Resource.
ID string `json:"id"`
// Unique human-readable name of the Resource.
Name string `json:"name"`
// The password to authenticate with.
Password string `json:"password"`
// The port to dial to initiate a connection from the egress node to this resource.
Port int32 `json:"port"`
// The local port used by clients to connect to this resource. It is automatically generated if not provided on create and may be re-generated on update by specifying a value of -1.
PortOverride int32 `json:"portOverride"`
// ID of the proxy cluster for this resource, if any.
ProxyClusterID string `json:"proxyClusterId"`
// ID of the secret store containing credentials for this resource, if any.
SecretStoreID string `json:"secretStoreId"`
// DNS subdomain through which this resource may be accessed on clients. (e.g. "app-prod1" allows the resource to be accessed at "app-prod1.your-org-name.sdm-proxy-domain"). Only applicable to HTTP-based resources or resources using virtual networking mode.
Subdomain string `json:"subdomain"`
// Tags is a map of key, value pairs.
Tags Tags `json:"tags"`
// If set, TLS must be used to connect to this resource.
TlsRequired bool `json:"tlsRequired"`
// The username to authenticate with.
Username string `json:"username"`
}
func (*Cassandra) GetBindInterface ¶
GetBindInterface returns the bind interface of the Cassandra.
func (*Cassandra) GetEgressFilter ¶
GetEgressFilter returns the egress filter of the Cassandra.
func (*Cassandra) GetSecretStoreID ¶
GetSecretStoreID returns the secret store id of the Cassandra.
func (*Cassandra) SetBindInterface ¶
SetBindInterface sets the bind interface of the Cassandra.
func (*Cassandra) SetEgressFilter ¶
SetEgressFilter sets the egress filter of the Cassandra.
func (*Cassandra) SetSecretStoreID ¶
SetSecretStoreID sets the secret store id of the Cassandra.
type Citus ¶
type Citus struct {
// The bind interface is the IP address to which the port override of a resource is bound (for example, 127.0.0.1). It is automatically generated if not provided and may also be set to one of the ResourceIPAllocationMode constants to select between VNM, loopback, or default allocation.
BindInterface string `json:"bindInterface"`
// The initial database to connect to. This setting does not by itself prevent switching to another database after connecting.
Database string `json:"database"`
// A filter applied to the routing logic to pin datasource to nodes.
EgressFilter string `json:"egressFilter"`
// True if the datasource is reachable and the credentials are valid.
Healthy bool `json:"healthy"`
// The host to dial to initiate a connection from the egress node to this resource.
Hostname string `json:"hostname"`
// Unique identifier of the Resource.
ID string `json:"id"`
// Unique human-readable name of the Resource.
Name string `json:"name"`
// If set, the database configured cannot be changed by users. This setting is not recommended for most use cases, as some clients will insist their database has changed when it has not, leading to user confusion.
OverrideDatabase bool `json:"overrideDatabase"`
// The password to authenticate with.
Password string `json:"password"`
// The port to dial to initiate a connection from the egress node to this resource.
Port int32 `json:"port"`
// The local port used by clients to connect to this resource. It is automatically generated if not provided on create and may be re-generated on update by specifying a value of -1.
PortOverride int32 `json:"portOverride"`
// ID of the proxy cluster for this resource, if any.
ProxyClusterID string `json:"proxyClusterId"`
// ID of the secret store containing credentials for this resource, if any.
SecretStoreID string `json:"secretStoreId"`
// DNS subdomain through which this resource may be accessed on clients. (e.g. "app-prod1" allows the resource to be accessed at "app-prod1.your-org-name.sdm-proxy-domain"). Only applicable to HTTP-based resources or resources using virtual networking mode.
Subdomain string `json:"subdomain"`
// Tags is a map of key, value pairs.
Tags Tags `json:"tags"`
// The username to authenticate with.
Username string `json:"username"`
}
func (*Citus) GetBindInterface ¶
GetBindInterface returns the bind interface of the Citus.
func (*Citus) GetEgressFilter ¶
GetEgressFilter returns the egress filter of the Citus.
func (*Citus) GetSecretStoreID ¶
GetSecretStoreID returns the secret store id of the Citus.
func (*Citus) SetBindInterface ¶
SetBindInterface sets the bind interface of the Citus.
func (*Citus) SetEgressFilter ¶
SetEgressFilter sets the egress filter of the Citus.
func (*Citus) SetSecretStoreID ¶
SetSecretStoreID sets the secret store id of the Citus.
type ClickHouseHTTP ¶
type ClickHouseHTTP struct {
// The bind interface is the IP address to which the port override of a resource is bound (for example, 127.0.0.1). It is automatically generated if not provided and may also be set to one of the ResourceIPAllocationMode constants to select between VNM, loopback, or default allocation.
BindInterface string `json:"bindInterface"`
// The initial database to connect to. This setting does not by itself prevent switching to another database after connecting.
Database string `json:"database"`
// A filter applied to the routing logic to pin datasource to nodes.
EgressFilter string `json:"egressFilter"`
// True if the datasource is reachable and the credentials are valid.
Healthy bool `json:"healthy"`
// Unique identifier of the Resource.
ID string `json:"id"`
// Unique human-readable name of the Resource.
Name string `json:"name"`
// The password to authenticate with.
Password string `json:"password"`
// The local port used by clients to connect to this resource. It is automatically generated if not provided on create and may be re-generated on update by specifying a value of -1.
PortOverride int32 `json:"portOverride"`
// ID of the proxy cluster for this resource, if any.
ProxyClusterID string `json:"proxyClusterId"`
// ID of the secret store containing credentials for this resource, if any.
SecretStoreID string `json:"secretStoreId"`
// Tags is a map of key, value pairs.
Tags Tags `json:"tags"`
// The URL to dial to initiate a connection from the egress node to this resource.
Url string `json:"url"`
// The username to authenticate with.
Username string `json:"username"`
}
func (*ClickHouseHTTP) GetBindInterface ¶
func (m *ClickHouseHTTP) GetBindInterface() string
GetBindInterface returns the bind interface of the ClickHouseHTTP.
func (*ClickHouseHTTP) GetEgressFilter ¶
func (m *ClickHouseHTTP) GetEgressFilter() string
GetEgressFilter returns the egress filter of the ClickHouseHTTP.
func (*ClickHouseHTTP) GetID ¶
func (m *ClickHouseHTTP) GetID() string
GetID returns the unique identifier of the ClickHouseHTTP.
func (*ClickHouseHTTP) GetName ¶
func (m *ClickHouseHTTP) GetName() string
GetName returns the name of the ClickHouseHTTP.
func (*ClickHouseHTTP) GetSecretStoreID ¶
func (m *ClickHouseHTTP) GetSecretStoreID() string
GetSecretStoreID returns the secret store id of the ClickHouseHTTP.
func (*ClickHouseHTTP) GetTags ¶
func (m *ClickHouseHTTP) GetTags() Tags
GetTags returns the tags of the ClickHouseHTTP.
func (*ClickHouseHTTP) SetBindInterface ¶
func (m *ClickHouseHTTP) SetBindInterface(v string)
SetBindInterface sets the bind interface of the ClickHouseHTTP.
func (*ClickHouseHTTP) SetEgressFilter ¶
func (m *ClickHouseHTTP) SetEgressFilter(v string)
SetEgressFilter sets the egress filter of the ClickHouseHTTP.
func (*ClickHouseHTTP) SetName ¶
func (m *ClickHouseHTTP) SetName(v string)
SetName sets the name of the ClickHouseHTTP.
func (*ClickHouseHTTP) SetSecretStoreID ¶
func (m *ClickHouseHTTP) SetSecretStoreID(v string)
SetSecretStoreID sets the secret store id of the ClickHouseHTTP.
func (*ClickHouseHTTP) SetTags ¶
func (m *ClickHouseHTTP) SetTags(v Tags)
SetTags sets the tags of the ClickHouseHTTP.
type ClickHouseMySQL ¶
type ClickHouseMySQL struct {
// The bind interface is the IP address to which the port override of a resource is bound (for example, 127.0.0.1). It is automatically generated if not provided and may also be set to one of the ResourceIPAllocationMode constants to select between VNM, loopback, or default allocation.
BindInterface string `json:"bindInterface"`
// The database for healthchecks. Does not affect client requests.
Database string `json:"database"`
// A filter applied to the routing logic to pin datasource to nodes.
EgressFilter string `json:"egressFilter"`
// True if the datasource is reachable and the credentials are valid.
Healthy bool `json:"healthy"`
// The host to dial to initiate a connection from the egress node to this resource.
Hostname string `json:"hostname"`
// Unique identifier of the Resource.
ID string `json:"id"`
// Unique human-readable name of the Resource.
Name string `json:"name"`
// The password to authenticate with.
Password string `json:"password"`
// The port to dial to initiate a connection from the egress node to this resource.
Port int32 `json:"port"`
// The local port used by clients to connect to this resource. It is automatically generated if not provided on create and may be re-generated on update by specifying a value of -1.
PortOverride int32 `json:"portOverride"`
// ID of the proxy cluster for this resource, if any.
ProxyClusterID string `json:"proxyClusterId"`
// Whether native auth (mysql_native_password) is used for all connections (for backwards compatibility)
RequireNativeAuth bool `json:"requireNativeAuth"`
// ID of the secret store containing credentials for this resource, if any.
SecretStoreID string `json:"secretStoreId"`
// DNS subdomain through which this resource may be accessed on clients. (e.g. "app-prod1" allows the resource to be accessed at "app-prod1.your-org-name.sdm-proxy-domain"). Only applicable to HTTP-based resources or resources using virtual networking mode.
Subdomain string `json:"subdomain"`
// Tags is a map of key, value pairs.
Tags Tags `json:"tags"`
// The username to authenticate with.
Username string `json:"username"`
}
func (*ClickHouseMySQL) GetBindInterface ¶
func (m *ClickHouseMySQL) GetBindInterface() string
GetBindInterface returns the bind interface of the ClickHouseMySQL.
func (*ClickHouseMySQL) GetEgressFilter ¶
func (m *ClickHouseMySQL) GetEgressFilter() string
GetEgressFilter returns the egress filter of the ClickHouseMySQL.
func (*ClickHouseMySQL) GetID ¶
func (m *ClickHouseMySQL) GetID() string
GetID returns the unique identifier of the ClickHouseMySQL.
func (*ClickHouseMySQL) GetName ¶
func (m *ClickHouseMySQL) GetName() string
GetName returns the name of the ClickHouseMySQL.
func (*ClickHouseMySQL) GetSecretStoreID ¶
func (m *ClickHouseMySQL) GetSecretStoreID() string
GetSecretStoreID returns the secret store id of the ClickHouseMySQL.
func (*ClickHouseMySQL) GetTags ¶
func (m *ClickHouseMySQL) GetTags() Tags
GetTags returns the tags of the ClickHouseMySQL.
func (*ClickHouseMySQL) SetBindInterface ¶
func (m *ClickHouseMySQL) SetBindInterface(v string)
SetBindInterface sets the bind interface of the ClickHouseMySQL.
func (*ClickHouseMySQL) SetEgressFilter ¶
func (m *ClickHouseMySQL) SetEgressFilter(v string)
SetEgressFilter sets the egress filter of the ClickHouseMySQL.
func (*ClickHouseMySQL) SetName ¶
func (m *ClickHouseMySQL) SetName(v string)
SetName sets the name of the ClickHouseMySQL.
func (*ClickHouseMySQL) SetSecretStoreID ¶
func (m *ClickHouseMySQL) SetSecretStoreID(v string)
SetSecretStoreID sets the secret store id of the ClickHouseMySQL.
func (*ClickHouseMySQL) SetTags ¶
func (m *ClickHouseMySQL) SetTags(v Tags)
SetTags sets the tags of the ClickHouseMySQL.
type ClickHouseTCP ¶
type ClickHouseTCP struct {
// The bind interface is the IP address to which the port override of a resource is bound (for example, 127.0.0.1). It is automatically generated if not provided and may also be set to one of the ResourceIPAllocationMode constants to select between VNM, loopback, or default allocation.
BindInterface string `json:"bindInterface"`
// The initial database to connect to. This setting does not by itself prevent switching to another database after connecting.
Database string `json:"database"`
// A filter applied to the routing logic to pin datasource to nodes.
EgressFilter string `json:"egressFilter"`
// True if the datasource is reachable and the credentials are valid.
Healthy bool `json:"healthy"`
// The host to dial to initiate a connection from the egress node to this resource.
Hostname string `json:"hostname"`
// Unique identifier of the Resource.
ID string `json:"id"`
// Unique human-readable name of the Resource.
Name string `json:"name"`
// The password to authenticate with.
Password string `json:"password"`
// The port to dial to initiate a connection from the egress node to this resource.
Port int32 `json:"port"`
// The local port used by clients to connect to this resource. It is automatically generated if not provided on create and may be re-generated on update by specifying a value of -1.
PortOverride int32 `json:"portOverride"`
// ID of the proxy cluster for this resource, if any.
ProxyClusterID string `json:"proxyClusterId"`
// ID of the secret store containing credentials for this resource, if any.
SecretStoreID string `json:"secretStoreId"`
// DNS subdomain through which this resource may be accessed on clients. (e.g. "app-prod1" allows the resource to be accessed at "app-prod1.your-org-name.sdm-proxy-domain"). Only applicable to HTTP-based resources or resources using virtual networking mode.
Subdomain string `json:"subdomain"`
// Tags is a map of key, value pairs.
Tags Tags `json:"tags"`
// If set, TLS must be used to connect to this resource.
TlsRequired bool `json:"tlsRequired"`
// The username to authenticate with.
Username string `json:"username"`
}
func (*ClickHouseTCP) GetBindInterface ¶
func (m *ClickHouseTCP) GetBindInterface() string
GetBindInterface returns the bind interface of the ClickHouseTCP.
func (*ClickHouseTCP) GetEgressFilter ¶
func (m *ClickHouseTCP) GetEgressFilter() string
GetEgressFilter returns the egress filter of the ClickHouseTCP.
func (*ClickHouseTCP) GetID ¶
func (m *ClickHouseTCP) GetID() string
GetID returns the unique identifier of the ClickHouseTCP.
func (*ClickHouseTCP) GetName ¶
func (m *ClickHouseTCP) GetName() string
GetName returns the name of the ClickHouseTCP.
func (*ClickHouseTCP) GetSecretStoreID ¶
func (m *ClickHouseTCP) GetSecretStoreID() string
GetSecretStoreID returns the secret store id of the ClickHouseTCP.
func (*ClickHouseTCP) GetTags ¶
func (m *ClickHouseTCP) GetTags() Tags
GetTags returns the tags of the ClickHouseTCP.
func (*ClickHouseTCP) SetBindInterface ¶
func (m *ClickHouseTCP) SetBindInterface(v string)
SetBindInterface sets the bind interface of the ClickHouseTCP.
func (*ClickHouseTCP) SetEgressFilter ¶
func (m *ClickHouseTCP) SetEgressFilter(v string)
SetEgressFilter sets the egress filter of the ClickHouseTCP.
func (*ClickHouseTCP) SetName ¶
func (m *ClickHouseTCP) SetName(v string)
SetName sets the name of the ClickHouseTCP.
func (*ClickHouseTCP) SetSecretStoreID ¶
func (m *ClickHouseTCP) SetSecretStoreID(v string)
SetSecretStoreID sets the secret store id of the ClickHouseTCP.
func (*ClickHouseTCP) SetTags ¶
func (m *ClickHouseTCP) SetTags(v Tags)
SetTags sets the tags of the ClickHouseTCP.
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client is the strongDM API client implementation.
func New ¶
func New(token, secret string, opts ...ClientOption) (*Client, error)
New creates a new strongDM API client.
func (*Client) AccessRequestEventsHistory ¶
func (c *Client) AccessRequestEventsHistory() *AccessRequestEventsHistory
AccessRequestEventsHistory provides records of all changes to the state of an AccessRequest.
func (*Client) AccessRequests ¶
func (c *Client) AccessRequests() *AccessRequests
AccessRequests are requests for access to a resource that may match a Workflow.
func (*Client) AccessRequestsHistory ¶
func (c *Client) AccessRequestsHistory() *AccessRequestsHistory
AccessRequestsHistory provides records of all changes to the state of an AccessRequest.
func (*Client) AccountAttachments ¶
func (c *Client) AccountAttachments() *AccountAttachments
AccountAttachments assign an account to a role.
func (*Client) AccountAttachmentsHistory ¶
func (c *Client) AccountAttachmentsHistory() *AccountAttachmentsHistory
AccountAttachmentsHistory records all changes to the state of an AccountAttachment.
func (*Client) AccountGrants ¶
func (c *Client) AccountGrants() *AccountGrants
AccountGrants assign a resource directly to an account, giving the account the permission to connect to that resource.
func (*Client) AccountGrantsHistory ¶
func (c *Client) AccountGrantsHistory() *AccountGrantsHistory
AccountGrantsHistory records all changes to the state of an AccountGrant.
func (*Client) AccountPermissions ¶
func (c *Client) AccountPermissions() *AccountPermissions
AccountPermissions records the granular permissions accounts have, allowing them to execute relevant commands via StrongDM's APIs.
func (*Client) AccountResources ¶
func (c *Client) AccountResources() *AccountResources
AccountResources enumerates the resources to which accounts have access. The AccountResources service is read-only.
func (*Client) AccountResourcesHistory ¶
func (c *Client) AccountResourcesHistory() *AccountResourcesHistory
AccountResourcesHistory records all changes to the state of a AccountResource.
func (*Client) Accounts ¶
Accounts are users that have access to strongDM. There are two types of accounts: 1. **Users:** humans who are authenticated through username and password or SSO. 2. **Service Accounts:** machines that are authenticated using a service token. 3. **Tokens** are access keys with permissions that can be used for authentication.
func (*Client) AccountsGroups ¶
func (c *Client) AccountsGroups() *AccountsGroups
An AccountGroup links an account and a group.
func (*Client) AccountsGroupsHistory ¶
func (c *Client) AccountsGroupsHistory() *AccountsGroupsHistory
AccountsGroupsHistory records all changes to the state of an AccountGroup.
func (*Client) AccountsHistory ¶
func (c *Client) AccountsHistory() *AccountsHistory
AccountsHistory records all changes to the state of an Account.
func (*Client) Activities ¶
func (c *Client) Activities() *Activities
An Activity is a record of an action taken against a strongDM deployment, e.g. a user creation, resource deletion, sso configuration change, etc. The Activities service is read-only.
func (*Client) ApprovalWorkflowApprovers ¶
func (c *Client) ApprovalWorkflowApprovers() *ApprovalWorkflowApprovers
ApprovalWorkflowApprovers link approval workflow approvers to an ApprovalWorkflowStep
func (*Client) ApprovalWorkflowApproversHistory ¶
func (c *Client) ApprovalWorkflowApproversHistory() *ApprovalWorkflowApproversHistory
ApprovalWorkflowApproversHistory records all changes to the state of an ApprovalWorkflowApprover.
func (*Client) ApprovalWorkflowSteps ¶
func (c *Client) ApprovalWorkflowSteps() *ApprovalWorkflowSteps
ApprovalWorkflowSteps link approval workflow steps to an ApprovalWorkflow
func (*Client) ApprovalWorkflowStepsHistory ¶
func (c *Client) ApprovalWorkflowStepsHistory() *ApprovalWorkflowStepsHistory
ApprovalWorkflowStepsHistory records all changes to the state of an ApprovalWorkflowStep.
func (*Client) ApprovalWorkflows ¶
func (c *Client) ApprovalWorkflows() *ApprovalWorkflows
ApprovalWorkflows are the mechanism by which requests for access can be viewed by authorized approvers and be approved or denied.
func (*Client) ApprovalWorkflowsHistory ¶
func (c *Client) ApprovalWorkflowsHistory() *ApprovalWorkflowsHistory
ApprovalWorkflowsHistory records all changes to the state of an ApprovalWorkflow.
func (*Client) Close ¶
Close will close the internal GRPC connection to strongDM. If the client is not initialized will return an error. Attempting to use the client after Close() may cause panics.
func (*Client) ControlPanel ¶
func (c *Client) ControlPanel() *ControlPanel
ControlPanel contains all administrative controls.
func (*Client) DiscoveryConnectors ¶
func (c *Client) DiscoveryConnectors() *DiscoveryConnectors
A Discovery Connector is a configuration object for performing Resource Scans in remote systems such as AWS, GCP, Azure, and other systems.
func (*Client) GrantedAccountEntitlements ¶ added in v16.13.0
func (c *Client) GrantedAccountEntitlements() *GrantedAccountEntitlements
GrantedAccountEntitlements enumerates the resources to which an account has been granted access. The GrantedAccountEntitlements service is read-only.
func (*Client) GrantedResourceEntitlements ¶ added in v16.13.0
func (c *Client) GrantedResourceEntitlements() *GrantedResourceEntitlements
GrantedResourceEntitlements enumerates the accounts that have been granted access to a given resource. The GrantedResourceEntitlements service is read-only.
func (*Client) GrantedRoleEntitlements ¶ added in v16.13.0
func (c *Client) GrantedRoleEntitlements() *GrantedRoleEntitlements
GrantedRoleEntitlements enumerates the resources to which a role grants access. The GrantedRoleEntitlements service is read-only.
func (*Client) GroupsHistory ¶
func (c *Client) GroupsHistory() *GroupsHistory
GroupsHistory records all changes to the state of a Group.
func (*Client) GroupsRoles ¶
func (c *Client) GroupsRoles() *GroupsRoles
A GroupRole is an assignment of a Group to a Role.
func (*Client) GroupsRolesHistory ¶
func (c *Client) GroupsRolesHistory() *GroupsRolesHistory
GroupsRolesHistory records all changes to the state of a GroupRole.
func (*Client) HealthChecks ¶
func (c *Client) HealthChecks() *HealthChecks
HealthChecks lists the last healthcheck between each node and resource. Note the unconventional capitalization here is to prevent having a collision with GRPC
func (*Client) IdentityAliases ¶
func (c *Client) IdentityAliases() *IdentityAliases
IdentityAliases assign an alias to an account within an IdentitySet. The alias is used as the username when connecting to a identity supported resource.
func (*Client) IdentityAliasesHistory ¶
func (c *Client) IdentityAliasesHistory() *IdentityAliasesHistory
IdentityAliasesHistory records all changes to the state of a IdentityAlias.
func (*Client) IdentitySets ¶
func (c *Client) IdentitySets() *IdentitySets
A IdentitySet is a named grouping of Identity Aliases for Accounts. An Account's relationship to a IdentitySet is defined via IdentityAlias objects.
func (*Client) IdentitySetsHistory ¶
func (c *Client) IdentitySetsHistory() *IdentitySetsHistory
IdentitySetsHistory records all changes to the state of a IdentitySet.
func (*Client) ManagedSecrets ¶
func (c *Client) ManagedSecrets() *ManagedSecrets
ManagedSecret is a private vertical for creating, reading, updating, deleting, listing and rotating the managed secrets in the secrets engines as an authenticated user.
func (*Client) Nodes ¶
Nodes make up the StrongDM network, and allow your users to connect securely to your resources. There are three types of nodes: 1. **Relay:** creates connectivity to your datasources, while maintaining the egress-only nature of your firewall 2. **Gateway:** a relay that also listens for connections from StrongDM clients 3. **Proxy Cluster:** a cluster of workers that together mediate access from clients to resources
func (*Client) NodesHistory ¶
func (c *Client) NodesHistory() *NodesHistory
NodesHistory records all changes to the state of a Node.
func (*Client) OrganizationHistory ¶
func (c *Client) OrganizationHistory() *OrganizationHistory
OrganizationHistory records all changes to the state of an Organization.
func (*Client) PeeringGroupNodes ¶
func (c *Client) PeeringGroupNodes() *PeeringGroupNodes
PeeringGroupNodes provides the building blocks necessary to obtain attach a node to a peering group.
func (*Client) PeeringGroupPeers ¶
func (c *Client) PeeringGroupPeers() *PeeringGroupPeers
PeeringGroupPeers provides the building blocks necessary to link two peering groups.
func (*Client) PeeringGroupResources ¶
func (c *Client) PeeringGroupResources() *PeeringGroupResources
PeeringGroupResources provides the building blocks necessary to obtain attach a resource to a peering group.
func (*Client) PeeringGroups ¶
func (c *Client) PeeringGroups() *PeeringGroups
PeeringGroups provides the building blocks necessary to obtain explicit network topology and routing.
func (*Client) Policies ¶
Policies are the collection of one or more statements that enforce fine-grained access control for the users of an organization.
func (*Client) PoliciesHistory ¶
func (c *Client) PoliciesHistory() *PoliciesHistory
PoliciesHistory records all changes to the state of a Policy.
func (*Client) ProxyClusterKeys ¶
func (c *Client) ProxyClusterKeys() *ProxyClusterKeys
Proxy Cluster Keys are authentication keys for all proxies within a cluster. The proxies within a cluster share the same key. One cluster can have multiple keys in order to facilitate key rotation.
func (*Client) Queries ¶
A Query is a record of a single client request to a resource, such as a SQL query. Long-running SSH, RDP, or Kubernetes interactive sessions also count as queries. The Queries service is read-only.
func (*Client) RemoteIdentities ¶
func (c *Client) RemoteIdentities() *RemoteIdentities
RemoteIdentities assign a resource directly to an account, giving the account the permission to connect to that resource.
func (*Client) RemoteIdentitiesHistory ¶
func (c *Client) RemoteIdentitiesHistory() *RemoteIdentitiesHistory
RemoteIdentitiesHistory records all changes to the state of a RemoteIdentity.
func (*Client) RemoteIdentityGroups ¶
func (c *Client) RemoteIdentityGroups() *RemoteIdentityGroups
A RemoteIdentityGroup is a named grouping of Remote Identities for Accounts. An Account's relationship to a RemoteIdentityGroup is defined via RemoteIdentity objects.
func (*Client) RemoteIdentityGroupsHistory ¶
func (c *Client) RemoteIdentityGroupsHistory() *RemoteIdentityGroupsHistory
RemoteIdentityGroupsHistory records all changes to the state of a RemoteIdentityGroup.
func (*Client) Replays ¶
A Replay captures the data transferred over a long-running SSH, RDP, or Kubernetes interactive session (otherwise referred to as a query). The Replays service is read-only.
func (*Client) RequestableAccountEntitlements ¶ added in v16.21.0
func (c *Client) RequestableAccountEntitlements() *RequestableAccountEntitlements
RequestableAccountEntitlements enumerates the resources that an account is permitted to request access to. The RequestableAccountEntitlements service is read-only.
func (*Client) RequestableResourceEntitlements ¶ added in v16.21.0
func (c *Client) RequestableResourceEntitlements() *RequestableResourceEntitlements
RequestableResourceEntitlements enumerates the accounts that are permitted to request access to a given resource. The RequestableResourceEntitlements service is read-only.
func (*Client) RequestableRoleEntitlements ¶ added in v16.21.0
func (c *Client) RequestableRoleEntitlements() *RequestableRoleEntitlements
RequestableRoleEntitlements enumerates the resources that a role permits its members to request access to. The RequestableRoleEntitlements service is read-only.
func (*Client) Resources ¶
Resources are databases, servers, clusters, websites, or clouds that strongDM delegates access to.
func (*Client) ResourcesHistory ¶
func (c *Client) ResourcesHistory() *ResourcesHistory
ResourcesHistory records all changes to the state of a Resource.
func (*Client) RoleResources ¶
func (c *Client) RoleResources() *RoleResources
RoleResources enumerates the resources to which roles have access. The RoleResources service is read-only.
func (*Client) RoleResourcesHistory ¶
func (c *Client) RoleResourcesHistory() *RoleResourcesHistory
RoleResourcesHistory records all changes to the state of a RoleResource.
func (*Client) Roles ¶
A Role has a list of access rules which determine which Resources the members of the Role have access to. An Account can be a member of multiple Roles via AccountAttachments.
func (*Client) RolesHistory ¶
func (c *Client) RolesHistory() *RolesHistory
RolesHistory records all changes to the state of a Role.
func (*Client) SecretEngines ¶
func (c *Client) SecretEngines() *SecretEngines
func (*Client) SecretStoreHealths ¶
func (c *Client) SecretStoreHealths() *SecretStoreHealths
SecretStoreHealths exposes health states for secret stores.
func (*Client) SecretStores ¶
func (c *Client) SecretStores() *SecretStores
SecretStores are servers where resource secrets (passwords, keys) are stored.
func (*Client) SecretStoresHistory ¶
func (c *Client) SecretStoresHistory() *SecretStoresHistory
SecretStoresHistory records all changes to the state of a SecretStore.
func (*Client) SnapshotAt ¶
func (c *Client) SnapshotAt(t time.Time) *SnapshotClient
SnapshotAt constructs a read-only client that will provide historical data from the provided timestamp.
func (*Client) WorkflowApprovers ¶
func (c *Client) WorkflowApprovers() *WorkflowApprovers
WorkflowApprovers is an account or a role with the ability to approve requests bound to a workflow.
func (*Client) WorkflowApproversHistory ¶
func (c *Client) WorkflowApproversHistory() *WorkflowApproversHistory
WorkflowApproversHistory provides records of all changes to the state of a WorkflowApprover.
func (*Client) WorkflowRoles ¶
func (c *Client) WorkflowRoles() *WorkflowRoles
WorkflowRole links a role to a workflow. The linked roles indicate which roles a user must be a part of to request access to a resource via the workflow.
func (*Client) WorkflowRolesHistory ¶
func (c *Client) WorkflowRolesHistory() *WorkflowRolesHistory
WorkflowRolesHistory provides records of all changes to the state of a WorkflowRole
func (*Client) Workflows ¶
Workflows are the collection of rules that define the resources to which access can be requested, the users that can request that access, and the mechanism for approving those requests which can either be automatic approval or a set of users authorized to approve the requests.
func (*Client) WorkflowsHistory ¶
func (c *Client) WorkflowsHistory() *WorkflowsHistory
WorkflowsHistory provides records of all changes to the state of a Workflow.
type ClientOption ¶
type ClientOption func(c *Client)
A ClientOption is an optional argument to New that can override the created client's default behavior.
func WithEphemeralKey ¶
func WithEphemeralKey(key *rsa.PrivateKey) ClientOption
WithEphemeralKey configures an ephemeral key used for managed secret retrieval. If set to nil it will generate a new ephmeral key on the first request.
func WithHost ¶
func WithHost(host string) ClientOption
WithHost causes a Client to make it's calls against the provided host instead of against app.strongdm.com.
func WithInsecure ¶
func WithInsecure() ClientOption
WithInsecure enables a Client to talk to an http server instead of an https server. This is potentially useful when communicating through a proxy, but should be used with care.
func WithPageLimit ¶
func WithPageLimit(limit int) ClientOption
WithPageLimit will set the page limit used for list commands i.e. the number of results that list calls will return per request to the StrongDM control plane. The interface for listing does not directly expose this limit, but it may be useful to manipulate it to reduce network callouts, or optimize clients if expecting few results. If not provided, the default is 50.
func WithRateLimitRetries ¶
func WithRateLimitRetries(enabled bool) ClientOption
WithRateLimitRetries configures whether encountered rate limit errors should cause this client to sleep and retry (if enabled), or whether those errors should be exposed to the code using this client (if disabled). By default, it is enabled.
func WithTLSConfig ¶
func WithTLSConfig(cfg *tls.Config) ClientOption
WithTLSConfig allows customization of the TLS configuration used to communicate with the API server.
func WithUserAgentExtra ¶
func WithUserAgentExtra(userAgentExtra string) ClientOption
WithUserAgentExtra modifies the user agent string to include additional identifying information for server-side analytics. The intended use is by extension libraries, like a terraform provider wrapping this client.
type Clustrix ¶
type Clustrix struct {
// The bind interface is the IP address to which the port override of a resource is bound (for example, 127.0.0.1). It is automatically generated if not provided and may also be set to one of the ResourceIPAllocationMode constants to select between VNM, loopback, or default allocation.
BindInterface string `json:"bindInterface"`
// The database for healthchecks. Does not affect client requests.
Database string `json:"database"`
// A filter applied to the routing logic to pin datasource to nodes.
EgressFilter string `json:"egressFilter"`
// True if the datasource is reachable and the credentials are valid.
Healthy bool `json:"healthy"`
// The host to dial to initiate a connection from the egress node to this resource.
Hostname string `json:"hostname"`
// Unique identifier of the Resource.
ID string `json:"id"`
// Unique human-readable name of the Resource.
Name string `json:"name"`
// The password to authenticate with.
Password string `json:"password"`
// The port to dial to initiate a connection from the egress node to this resource.
Port int32 `json:"port"`
// The local port used by clients to connect to this resource. It is automatically generated if not provided on create and may be re-generated on update by specifying a value of -1.
PortOverride int32 `json:"portOverride"`
// ID of the proxy cluster for this resource, if any.
ProxyClusterID string `json:"proxyClusterId"`
// Whether native auth (mysql_native_password) is used for all connections (for backwards compatibility)
RequireNativeAuth bool `json:"requireNativeAuth"`
// ID of the secret store containing credentials for this resource, if any.
SecretStoreID string `json:"secretStoreId"`
// DNS subdomain through which this resource may be accessed on clients. (e.g. "app-prod1" allows the resource to be accessed at "app-prod1.your-org-name.sdm-proxy-domain"). Only applicable to HTTP-based resources or resources using virtual networking mode.
Subdomain string `json:"subdomain"`
// Tags is a map of key, value pairs.
Tags Tags `json:"tags"`
// If true, appends the hostname to the username when hitting a database.azure.com address
UseAzureSingleServerUsernames bool `json:"useAzureSingleServerUsernames"`
// The username to authenticate with.
Username string `json:"username"`
}
func (*Clustrix) GetBindInterface ¶
GetBindInterface returns the bind interface of the Clustrix.
func (*Clustrix) GetEgressFilter ¶
GetEgressFilter returns the egress filter of the Clustrix.
func (*Clustrix) GetSecretStoreID ¶
GetSecretStoreID returns the secret store id of the Clustrix.
func (*Clustrix) SetBindInterface ¶
SetBindInterface sets the bind interface of the Clustrix.
func (*Clustrix) SetEgressFilter ¶
SetEgressFilter sets the egress filter of the Clustrix.
func (*Clustrix) SetSecretStoreID ¶
SetSecretStoreID sets the secret store id of the Clustrix.
type Cockroach ¶
type Cockroach struct {
// The bind interface is the IP address to which the port override of a resource is bound (for example, 127.0.0.1). It is automatically generated if not provided and may also be set to one of the ResourceIPAllocationMode constants to select between VNM, loopback, or default allocation.
BindInterface string `json:"bindInterface"`
// The initial database to connect to. This setting does not by itself prevent switching to another database after connecting.
Database string `json:"database"`
// A filter applied to the routing logic to pin datasource to nodes.
EgressFilter string `json:"egressFilter"`
// True if the datasource is reachable and the credentials are valid.
Healthy bool `json:"healthy"`
// The host to dial to initiate a connection from the egress node to this resource.
Hostname string `json:"hostname"`
// Unique identifier of the Resource.
ID string `json:"id"`
// Unique human-readable name of the Resource.
Name string `json:"name"`
// If set, the database configured cannot be changed by users. This setting is not recommended for most use cases, as some clients will insist their database has changed when it has not, leading to user confusion.
OverrideDatabase bool `json:"overrideDatabase"`
// The password to authenticate with.
Password string `json:"password"`
// The port to dial to initiate a connection from the egress node to this resource.
Port int32 `json:"port"`
// The local port used by clients to connect to this resource. It is automatically generated if not provided on create and may be re-generated on update by specifying a value of -1.
PortOverride int32 `json:"portOverride"`
// ID of the proxy cluster for this resource, if any.
ProxyClusterID string `json:"proxyClusterId"`
// ID of the secret store containing credentials for this resource, if any.
SecretStoreID string `json:"secretStoreId"`
// DNS subdomain through which this resource may be accessed on clients. (e.g. "app-prod1" allows the resource to be accessed at "app-prod1.your-org-name.sdm-proxy-domain"). Only applicable to HTTP-based resources or resources using virtual networking mode.
Subdomain string `json:"subdomain"`
// Tags is a map of key, value pairs.
Tags Tags `json:"tags"`
// The username to authenticate with.
Username string `json:"username"`
}
func (*Cockroach) GetBindInterface ¶
GetBindInterface returns the bind interface of the Cockroach.
func (*Cockroach) GetEgressFilter ¶
GetEgressFilter returns the egress filter of the Cockroach.
func (*Cockroach) GetSecretStoreID ¶
GetSecretStoreID returns the secret store id of the Cockroach.
func (*Cockroach) SetBindInterface ¶
SetBindInterface sets the bind interface of the Cockroach.
func (*Cockroach) SetEgressFilter ¶
SetEgressFilter sets the egress filter of the Cockroach.
func (*Cockroach) SetSecretStoreID ¶
SetSecretStoreID sets the secret store id of the Cockroach.
type Connector ¶
type Connector interface {
// GetID returns the unique identifier of the Connector.
GetID() string
// GetName returns the name of the Connector.
GetName() string
// SetName sets the name of the Connector.
SetName(string)
// GetDescription returns the description of the Connector.
GetDescription() string
// SetDescription sets the description of the Connector.
SetDescription(string)
// GetServices returns the services of the Connector.
GetServices() []string
// SetServices sets the services of the Connector.
SetServices([]string)
// GetIncludeTags returns the include tags of the Connector.
GetIncludeTags() []*Tag
// SetIncludeTags sets the include tags of the Connector.
SetIncludeTags([]*Tag)
// GetExcludeTags returns the exclude tags of the Connector.
GetExcludeTags() []*Tag
// SetExcludeTags sets the exclude tags of the Connector.
SetExcludeTags([]*Tag)
// GetScanPeriod returns the scan period of the Connector.
GetScanPeriod() string
// SetScanPeriod sets the scan period of the Connector.
SetScanPeriod(string)
// contains filtered or unexported methods
}
A Connector configures scanning for a given system.
type ConnectorCreateRequest ¶
type ConnectorCreateRequest struct {
// Parameters to define the new Connector.
Connector Connector `json:"connector"`
}
ConnectorCreateRequest specifies a connector to create.
type ConnectorCreateResponse ¶
type ConnectorCreateResponse struct {
// The created Connector.
Connector Connector `json:"connector"`
// Rate limit information.
RateLimit *RateLimitMetadata `json:"rateLimit"`
}
ConnectorCreateResponse reports the result of a create.
type ConnectorDeleteRequest ¶
type ConnectorDeleteRequest struct {
// The unique identifier of the connector to delete.
ID string `json:"id"`
}
ConnectorDeleteRequest identifies a connector by ID to delete.
type ConnectorDeleteResponse ¶
type ConnectorDeleteResponse struct {
// Reserved for future use.
Meta *DeleteResponseMetadata `json:"meta"`
// Rate limit information.
RateLimit *RateLimitMetadata `json:"rateLimit"`
}
ConnectorDeleteResponse returns information about a connector that was deleted.
type ConnectorGetRequest ¶
type ConnectorGetRequest struct {
// The unique identifier of the Connector to retrieve.
ID string `json:"id"`
}
ConnectorGetRequest specifies which Connector to retrieve.
type ConnectorGetResponse ¶
type ConnectorGetResponse struct {
// The requested Connector.
Connector Connector `json:"connector"`
// Reserved for future use.
Meta *GetResponseMetadata `json:"meta"`
// Rate limit information.
RateLimit *RateLimitMetadata `json:"rateLimit"`
}
ConnectorGetResponse returns a requested Connector.
type ConnectorIterator ¶
type ConnectorIterator interface {
// Next advances the iterator to the next item in the list. It returns
// true if an item is available to retrieve via the `Value()` function.
Next() bool
// Value returns the current item, if one is available.
Value() Connector
// Err returns the first error encountered during iteration, if any.
Err() error
}
ConnectorIterator provides read access to a list of Connector. Use it like so:
for iterator.Next() {
connector := iterator.Value()
// ...
}
type ConnectorListRequest ¶
type ConnectorListRequest struct {
// A human-readable filter query string.
Filter string `json:"filter"`
}
ConnectorListRequest specifies criteria for retrieving a list of connectors.
type ConnectorListResponse ¶
type ConnectorListResponse struct {
// Rate limit information.
RateLimit *RateLimitMetadata `json:"rateLimit"`
}
ConnectorListResponse returns a list of connectors that meet the criteria of a ConnectorListRequest.
type ConnectorUpdateRequest ¶
type ConnectorUpdateRequest struct {
// Parameters to overwrite the specified connector.
Connector Connector `json:"connector"`
}
ConnectorUpdateRequest updates a connector.
type ConnectorUpdateResponse ¶
type ConnectorUpdateResponse struct {
// The updated connector.
Connector Connector `json:"connector"`
// Rate limit information.
RateLimit *RateLimitMetadata `json:"rateLimit"`
}
ConnectorUpdateResponse returns the fields of a connector after it has been updated by a connectorUpdateRequest.
type ContextCanceledError ¶
type ContextCanceledError struct {
// Wrapped is a underlying error.
Wrapped error
}
ContextCanceledError indicates an operation was canceled.
func (*ContextCanceledError) Code ¶
func (e *ContextCanceledError) Code() int
func (*ContextCanceledError) Error ¶
func (e *ContextCanceledError) Error() string
func (*ContextCanceledError) Unwrap ¶
func (e *ContextCanceledError) Unwrap() error
type ControlPanel ¶
type ControlPanel struct {
// contains filtered or unexported fields
}
ControlPanel contains all administrative controls.
func (*ControlPanel) GetOrgURLInfo ¶ added in v16.5.0
func (svc *ControlPanel) GetOrgURLInfo( ctx context.Context) ( *ControlPanelGetOrgURLInfoResponse, error)
GetOrgURLInfo retrieves URL configuration for the organization. This includes the base URL, website subdomain, OIDC issuer URL, and SAML metadata URL.
func (*ControlPanel) GetRDPCAPublicKey ¶
func (svc *ControlPanel) GetRDPCAPublicKey( ctx context.Context) ( *ControlPanelGetRDPCAPublicKeyResponse, error)
GetRDPCAPublicKey retrieves the RDP CA public key.
func (*ControlPanel) GetSSHCAPublicKey ¶
func (svc *ControlPanel) GetSSHCAPublicKey( ctx context.Context) ( *ControlPanelGetSSHCAPublicKeyResponse, error)
GetSSHCAPublicKey retrieves the SSH CA public key.
func (*ControlPanel) VerifyJWT ¶
func (svc *ControlPanel) VerifyJWT( ctx context.Context, token string) ( *ControlPanelVerifyJWTResponse, error)
VerifyJWT reports whether the given JWT token (x-sdm-token) is valid.
type ControlPanelGetOrgURLInfoResponse ¶ added in v16.5.0
type ControlPanelGetOrgURLInfoResponse struct {
// The base URL of the organization, e.g. https://app.strongdm.com
BaseUrl string `json:"baseUrl"`
// Reserved for future use.
Meta *GetResponseMetadata `json:"meta"`
// The OIDC issuer URL for the organization, used for OIDC federation
// with cloud providers
OidcIssuerUrl string `json:"oidcIssuerUrl"`
// Rate limit information.
RateLimit *RateLimitMetadata `json:"rateLimit"`
// The SAML metadata URL for the organization, used for SAML SSO configuration.
SamlMetadataUrl string `json:"samlMetadataUrl"`
// The organization's website subdomain, used to construct URLs.
WebsitesSubdomain string `json:"websitesSubdomain"`
}
ControlPanelGetOrgURLInfoResponse represents the response containing organization URL configuration.
type ControlPanelGetRDPCAPublicKeyResponse ¶
type ControlPanelGetRDPCAPublicKeyResponse struct {
// Reserved for future use.
Meta *GetResponseMetadata `json:"meta"`
// The public key of the SSH Certificate Authority, in OpenSSH RSA public
// key format.
PublicKey string `json:"publicKey"`
// Rate limit information.
RateLimit *RateLimitMetadata `json:"rateLimit"`
}
ControlPanelGetRDPCAPublicKeyResponse represents a request for an organization's RDP Certificate Authority public key.
type ControlPanelGetSSHCAPublicKeyResponse ¶
type ControlPanelGetSSHCAPublicKeyResponse struct {
// Reserved for future use.
Meta *GetResponseMetadata `json:"meta"`
// The public key of the SSH Certificate Authority, in OpenSSH RSA public
// key format.
PublicKey string `json:"publicKey"`
// Rate limit information.
RateLimit *RateLimitMetadata `json:"rateLimit"`
}
ControlPanelGetSSHCAPublicKeyResponse represents a request for an organization's SSH Certificate Authority public key.
type ControlPanelVerifyJWTResponse ¶
type ControlPanelVerifyJWTResponse struct {
// Reserved for future use.
Meta *GetResponseMetadata `json:"meta"`
// Rate limit information.
RateLimit *RateLimitMetadata `json:"rateLimit"`
// Reports if the given token is valid.
ValID bool `json:"valid"`
}
ControlPanelVerifyJWTResponse reports whether x-sdm-token is valid.
type CouchbaseDatabase ¶
type CouchbaseDatabase struct {
// The bind interface is the IP address to which the port override of a resource is bound (for example, 127.0.0.1). It is automatically generated if not provided and may also be set to one of the ResourceIPAllocationMode constants to select between VNM, loopback, or default allocation.
BindInterface string `json:"bindInterface"`
// A filter applied to the routing logic to pin datasource to nodes.
EgressFilter string `json:"egressFilter"`
// True if the datasource is reachable and the credentials are valid.
Healthy bool `json:"healthy"`
// The host to dial to initiate a connection from the egress node to this resource.
Hostname string `json:"hostname"`
// Unique identifier of the Resource.
ID string `json:"id"`
// The port number for N1QL queries. Default HTTP is 8093. Default HTTPS is 18093.
N1QlPort int32 `json:"n1QlPort"`
// Unique human-readable name of the Resource.
Name string `json:"name"`
// The password to authenticate with.
Password string `json:"password"`
// The port to dial to initiate a connection from the egress node to this resource.
Port int32 `json:"port"`
// The local port used by clients to connect to this resource. It is automatically generated if not provided on create and may be re-generated on update by specifying a value of -1.
PortOverride int32 `json:"portOverride"`
// ID of the proxy cluster for this resource, if any.
ProxyClusterID string `json:"proxyClusterId"`
// ID of the secret store containing credentials for this resource, if any.
SecretStoreID string `json:"secretStoreId"`
// DNS subdomain through which this resource may be accessed on clients. (e.g. "app-prod1" allows the resource to be accessed at "app-prod1.your-org-name.sdm-proxy-domain"). Only applicable to HTTP-based resources or resources using virtual networking mode.
Subdomain string `json:"subdomain"`
// Tags is a map of key, value pairs.
Tags Tags `json:"tags"`
// If set, TLS must be used to connect to this resource.
TlsRequired bool `json:"tlsRequired"`
// The username to authenticate with.
Username string `json:"username"`
}
func (*CouchbaseDatabase) GetBindInterface ¶
func (m *CouchbaseDatabase) GetBindInterface() string
GetBindInterface returns the bind interface of the CouchbaseDatabase.
func (*CouchbaseDatabase) GetEgressFilter ¶
func (m *CouchbaseDatabase) GetEgressFilter() string
GetEgressFilter returns the egress filter of the CouchbaseDatabase.
func (*CouchbaseDatabase) GetID ¶
func (m *CouchbaseDatabase) GetID() string
GetID returns the unique identifier of the CouchbaseDatabase.
func (*CouchbaseDatabase) GetName ¶
func (m *CouchbaseDatabase) GetName() string
GetName returns the name of the CouchbaseDatabase.
func (*CouchbaseDatabase) GetSecretStoreID ¶
func (m *CouchbaseDatabase) GetSecretStoreID() string
GetSecretStoreID returns the secret store id of the CouchbaseDatabase.
func (*CouchbaseDatabase) GetTags ¶
func (m *CouchbaseDatabase) GetTags() Tags
GetTags returns the tags of the CouchbaseDatabase.
func (*CouchbaseDatabase) SetBindInterface ¶
func (m *CouchbaseDatabase) SetBindInterface(v string)
SetBindInterface sets the bind interface of the CouchbaseDatabase.
func (*CouchbaseDatabase) SetEgressFilter ¶
func (m *CouchbaseDatabase) SetEgressFilter(v string)
SetEgressFilter sets the egress filter of the CouchbaseDatabase.
func (*CouchbaseDatabase) SetName ¶
func (m *CouchbaseDatabase) SetName(v string)
SetName sets the name of the CouchbaseDatabase.
func (*CouchbaseDatabase) SetSecretStoreID ¶
func (m *CouchbaseDatabase) SetSecretStoreID(v string)
SetSecretStoreID sets the secret store id of the CouchbaseDatabase.
func (*CouchbaseDatabase) SetTags ¶
func (m *CouchbaseDatabase) SetTags(v Tags)
SetTags sets the tags of the CouchbaseDatabase.
type CouchbaseWebUI ¶
type CouchbaseWebUI struct {
// The bind interface is the IP address to which the port override of a resource is bound (for example, 127.0.0.1). It is automatically generated if not provided and may also be set to one of the ResourceIPAllocationMode constants to select between VNM, loopback, or default allocation.
BindInterface string `json:"bindInterface"`
// A filter applied to the routing logic to pin datasource to nodes.
EgressFilter string `json:"egressFilter"`
// True if the datasource is reachable and the credentials are valid.
Healthy bool `json:"healthy"`
// Unique identifier of the Resource.
ID string `json:"id"`
// Unique human-readable name of the Resource.
Name string `json:"name"`
// The password to authenticate with.
Password string `json:"password"`
// The local port used by clients to connect to this resource. It is automatically generated if not provided on create and may be re-generated on update by specifying a value of -1.
PortOverride int32 `json:"portOverride"`
// ID of the proxy cluster for this resource, if any.
ProxyClusterID string `json:"proxyClusterId"`
// ID of the secret store containing credentials for this resource, if any.
SecretStoreID string `json:"secretStoreId"`
// Subdomain is the local DNS address. (e.g. app-prod1 turns into app-prod1.your-org-name.sdm.network)
Subdomain string `json:"subdomain"`
// Tags is a map of key, value pairs.
Tags Tags `json:"tags"`
// The base address of your website without the path.
Url string `json:"url"`
// The username to authenticate with.
Username string `json:"username"`
}
func (*CouchbaseWebUI) GetBindInterface ¶
func (m *CouchbaseWebUI) GetBindInterface() string
GetBindInterface returns the bind interface of the CouchbaseWebUI.
func (*CouchbaseWebUI) GetEgressFilter ¶
func (m *CouchbaseWebUI) GetEgressFilter() string
GetEgressFilter returns the egress filter of the CouchbaseWebUI.
func (*CouchbaseWebUI) GetID ¶
func (m *CouchbaseWebUI) GetID() string
GetID returns the unique identifier of the CouchbaseWebUI.
func (*CouchbaseWebUI) GetName ¶
func (m *CouchbaseWebUI) GetName() string
GetName returns the name of the CouchbaseWebUI.
func (*CouchbaseWebUI) GetSecretStoreID ¶
func (m *CouchbaseWebUI) GetSecretStoreID() string
GetSecretStoreID returns the secret store id of the CouchbaseWebUI.
func (*CouchbaseWebUI) GetTags ¶
func (m *CouchbaseWebUI) GetTags() Tags
GetTags returns the tags of the CouchbaseWebUI.
func (*CouchbaseWebUI) SetBindInterface ¶
func (m *CouchbaseWebUI) SetBindInterface(v string)
SetBindInterface sets the bind interface of the CouchbaseWebUI.
func (*CouchbaseWebUI) SetEgressFilter ¶
func (m *CouchbaseWebUI) SetEgressFilter(v string)
SetEgressFilter sets the egress filter of the CouchbaseWebUI.
func (*CouchbaseWebUI) SetName ¶
func (m *CouchbaseWebUI) SetName(v string)
SetName sets the name of the CouchbaseWebUI.
func (*CouchbaseWebUI) SetSecretStoreID ¶
func (m *CouchbaseWebUI) SetSecretStoreID(v string)
SetSecretStoreID sets the secret store id of the CouchbaseWebUI.
func (*CouchbaseWebUI) SetTags ¶
func (m *CouchbaseWebUI) SetTags(v Tags)
SetTags sets the tags of the CouchbaseWebUI.
type CreateResponseMetadata ¶
type CreateResponseMetadata struct {
}
CreateResponseMetadata is reserved for future use.
type CustomHeader ¶ added in v16.3.0
type CustomHeader struct {
// The name of this header.
Name string `json:"name"`
// Headers containing sensitive values must be stored encrypted and redacted from logs.
Secret bool `json:"secret"`
// The value of this header.
Value string `json:"value"`
}
CustomHeader describes a single HTTP header
type CustomHeaders ¶ added in v16.3.0
type CustomHeaders struct {
// Entries, each describing a single header
CustomHeaders []*CustomHeader `json:"customHeaders"`
}
CustomHeaders holds an array of HTTP headers to be injected into requests by the driver
type CyberarkConjurStore ¶
type CyberarkConjurStore struct {
// The URL of the Cyberark instance
AppURL string `json:"appUrl"`
// Unique identifier of the SecretStore.
ID string `json:"id"`
// Unique human-readable name of the SecretStore.
Name string `json:"name"`
// Tags is a map of key, value pairs.
Tags Tags `json:"tags"`
}
func (*CyberarkConjurStore) GetID ¶
func (m *CyberarkConjurStore) GetID() string
GetID returns the unique identifier of the CyberarkConjurStore.
func (*CyberarkConjurStore) GetName ¶
func (m *CyberarkConjurStore) GetName() string
GetName returns the name of the CyberarkConjurStore.
func (*CyberarkConjurStore) GetTags ¶
func (m *CyberarkConjurStore) GetTags() Tags
GetTags returns the tags of the CyberarkConjurStore.
func (*CyberarkConjurStore) SetName ¶
func (m *CyberarkConjurStore) SetName(v string)
SetName sets the name of the CyberarkConjurStore.
func (*CyberarkConjurStore) SetTags ¶
func (m *CyberarkConjurStore) SetTags(v Tags)
SetTags sets the tags of the CyberarkConjurStore.
type CyberarkPAMExperimentalStore ¶
type CyberarkPAMExperimentalStore struct {
// The URL of the Cyberark instance
AppURL string `json:"appUrl"`
// Unique identifier of the SecretStore.
ID string `json:"id"`
// Unique human-readable name of the SecretStore.
Name string `json:"name"`
// Tags is a map of key, value pairs.
Tags Tags `json:"tags"`
}
CyberarkPAMExperimentalStore is currently unstable, and its API may change, or it may be removed, without a major version bump.
func (*CyberarkPAMExperimentalStore) GetID ¶
func (m *CyberarkPAMExperimentalStore) GetID() string
GetID returns the unique identifier of the CyberarkPAMExperimentalStore.
func (*CyberarkPAMExperimentalStore) GetName ¶
func (m *CyberarkPAMExperimentalStore) GetName() string
GetName returns the name of the CyberarkPAMExperimentalStore.
func (*CyberarkPAMExperimentalStore) GetTags ¶
func (m *CyberarkPAMExperimentalStore) GetTags() Tags
GetTags returns the tags of the CyberarkPAMExperimentalStore.
func (*CyberarkPAMExperimentalStore) SetName ¶
func (m *CyberarkPAMExperimentalStore) SetName(v string)
SetName sets the name of the CyberarkPAMExperimentalStore.
func (*CyberarkPAMExperimentalStore) SetTags ¶
func (m *CyberarkPAMExperimentalStore) SetTags(v Tags)
SetTags sets the tags of the CyberarkPAMExperimentalStore.
type CyberarkPAMStore ¶
type CyberarkPAMStore struct {
// The URL of the Cyberark instance
AppURL string `json:"appUrl"`
// Unique identifier of the SecretStore.
ID string `json:"id"`
// Unique human-readable name of the SecretStore.
Name string `json:"name"`
// Tags is a map of key, value pairs.
Tags Tags `json:"tags"`
}
func (*CyberarkPAMStore) GetID ¶
func (m *CyberarkPAMStore) GetID() string
GetID returns the unique identifier of the CyberarkPAMStore.
func (*CyberarkPAMStore) GetName ¶
func (m *CyberarkPAMStore) GetName() string
GetName returns the name of the CyberarkPAMStore.
func (*CyberarkPAMStore) GetTags ¶
func (m *CyberarkPAMStore) GetTags() Tags
GetTags returns the tags of the CyberarkPAMStore.
func (*CyberarkPAMStore) SetName ¶
func (m *CyberarkPAMStore) SetName(v string)
SetName sets the name of the CyberarkPAMStore.
func (*CyberarkPAMStore) SetTags ¶
func (m *CyberarkPAMStore) SetTags(v Tags)
SetTags sets the tags of the CyberarkPAMStore.
type DB2I ¶
type DB2I struct {
// The bind interface is the IP address to which the port override of a resource is bound (for example, 127.0.0.1). It is automatically generated if not provided and may also be set to one of the ResourceIPAllocationMode constants to select between VNM, loopback, or default allocation.
BindInterface string `json:"bindInterface"`
// A filter applied to the routing logic to pin datasource to nodes.
EgressFilter string `json:"egressFilter"`
// True if the datasource is reachable and the credentials are valid.
Healthy bool `json:"healthy"`
// The host to dial to initiate a connection from the egress node to this resource.
Hostname string `json:"hostname"`
// Unique identifier of the Resource.
ID string `json:"id"`
// Unique human-readable name of the Resource.
Name string `json:"name"`
// The password to authenticate with.
Password string `json:"password"`
// The port to dial to initiate a connection from the egress node to this resource.
Port int32 `json:"port"`
// The local port used by clients to connect to this resource. It is automatically generated if not provided on create and may be re-generated on update by specifying a value of -1.
PortOverride int32 `json:"portOverride"`
// ID of the proxy cluster for this resource, if any.
ProxyClusterID string `json:"proxyClusterId"`
// ID of the secret store containing credentials for this resource, if any.
SecretStoreID string `json:"secretStoreId"`
// DNS subdomain through which this resource may be accessed on clients. (e.g. "app-prod1" allows the resource to be accessed at "app-prod1.your-org-name.sdm-proxy-domain"). Only applicable to HTTP-based resources or resources using virtual networking mode.
Subdomain string `json:"subdomain"`
// Tags is a map of key, value pairs.
Tags Tags `json:"tags"`
// If set, TLS must be used to connect to this resource.
TlsRequired bool `json:"tlsRequired"`
// The username to authenticate with.
Username string `json:"username"`
}
func (*DB2I) GetBindInterface ¶
GetBindInterface returns the bind interface of the DB2I.
func (*DB2I) GetEgressFilter ¶
GetEgressFilter returns the egress filter of the DB2I.
func (*DB2I) GetSecretStoreID ¶
GetSecretStoreID returns the secret store id of the DB2I.
func (*DB2I) SetBindInterface ¶
SetBindInterface sets the bind interface of the DB2I.
func (*DB2I) SetEgressFilter ¶
SetEgressFilter sets the egress filter of the DB2I.
func (*DB2I) SetSecretStoreID ¶
SetSecretStoreID sets the secret store id of the DB2I.
type DB2LUW ¶
type DB2LUW struct {
// The bind interface is the IP address to which the port override of a resource is bound (for example, 127.0.0.1). It is automatically generated if not provided and may also be set to one of the ResourceIPAllocationMode constants to select between VNM, loopback, or default allocation.
BindInterface string `json:"bindInterface"`
// The initial database to connect to. This setting does not by itself prevent switching to another database after connecting.
Database string `json:"database"`
// A filter applied to the routing logic to pin datasource to nodes.
EgressFilter string `json:"egressFilter"`
// True if the datasource is reachable and the credentials are valid.
Healthy bool `json:"healthy"`
// The host to dial to initiate a connection from the egress node to this resource.
Hostname string `json:"hostname"`
// Unique identifier of the Resource.
ID string `json:"id"`
// Unique human-readable name of the Resource.
Name string `json:"name"`
// The password to authenticate with.
Password string `json:"password"`
// The port to dial to initiate a connection from the egress node to this resource.
Port int32 `json:"port"`
// The local port used by clients to connect to this resource. It is automatically generated if not provided on create and may be re-generated on update by specifying a value of -1.
PortOverride int32 `json:"portOverride"`
// ID of the proxy cluster for this resource, if any.
ProxyClusterID string `json:"proxyClusterId"`
// ID of the secret store containing credentials for this resource, if any.
SecretStoreID string `json:"secretStoreId"`
// DNS subdomain through which this resource may be accessed on clients. (e.g. "app-prod1" allows the resource to be accessed at "app-prod1.your-org-name.sdm-proxy-domain"). Only applicable to HTTP-based resources or resources using virtual networking mode.
Subdomain string `json:"subdomain"`
// Tags is a map of key, value pairs.
Tags Tags `json:"tags"`
// If set, TLS must be used to connect to this resource.
TlsRequired bool `json:"tlsRequired"`
// The username to authenticate with.
Username string `json:"username"`
}
func (*DB2LUW) GetBindInterface ¶
GetBindInterface returns the bind interface of the DB2LUW.
func (*DB2LUW) GetEgressFilter ¶
GetEgressFilter returns the egress filter of the DB2LUW.
func (*DB2LUW) GetSecretStoreID ¶
GetSecretStoreID returns the secret store id of the DB2LUW.
func (*DB2LUW) SetBindInterface ¶
SetBindInterface sets the bind interface of the DB2LUW.
func (*DB2LUW) SetEgressFilter ¶
SetEgressFilter sets the egress filter of the DB2LUW.
func (*DB2LUW) SetSecretStoreID ¶
SetSecretStoreID sets the secret store id of the DB2LUW.
type Databricks ¶ added in v16.7.0
type Databricks struct {
// Databricks Personal Access Token (PAT)
AccessToken string `json:"accessToken"`
// The bind interface is the IP address to which the port override of a resource is bound (for example, 127.0.0.1). It is automatically generated if not provided and may also be set to one of the ResourceIPAllocationMode constants to select between VNM, loopback, or default allocation.
BindInterface string `json:"bindInterface"`
// A filter applied to the routing logic to pin datasource to nodes.
EgressFilter string `json:"egressFilter"`
// True if the datasource is reachable and the credentials are valid.
Healthy bool `json:"healthy"`
// The Databricks workspace hostname (e.g., dbc-xxx.cloud.databricks.com)
Hostname string `json:"hostname"`
// The HTTP path to the SQL warehouse or cluster (e.g., /sql/1.0/warehouses/xxx)
HttpPath string `json:"httpPath"`
// Unique identifier of the Resource.
ID string `json:"id"`
// Unique human-readable name of the Resource.
Name string `json:"name"`
// The local port used by clients to connect to this resource. It is automatically generated if not provided on create and may be re-generated on update by specifying a value of -1.
PortOverride int32 `json:"portOverride"`
// ID of the proxy cluster for this resource, if any.
ProxyClusterID string `json:"proxyClusterId"`
// The Schema to use to direct initial requests.
Schema string `json:"schema"`
// ID of the secret store containing credentials for this resource, if any.
SecretStoreID string `json:"secretStoreId"`
// DNS subdomain through which this resource may be accessed on clients. (e.g. "app-prod1" allows the resource to be accessed at "app-prod1.your-org-name.sdm-proxy-domain"). Only applicable to HTTP-based resources or resources using virtual networking mode.
Subdomain string `json:"subdomain"`
// Tags is a map of key, value pairs.
Tags Tags `json:"tags"`
}
func (*Databricks) GetBindInterface ¶ added in v16.7.0
func (m *Databricks) GetBindInterface() string
GetBindInterface returns the bind interface of the Databricks.
func (*Databricks) GetEgressFilter ¶ added in v16.7.0
func (m *Databricks) GetEgressFilter() string
GetEgressFilter returns the egress filter of the Databricks.
func (*Databricks) GetID ¶ added in v16.7.0
func (m *Databricks) GetID() string
GetID returns the unique identifier of the Databricks.
func (*Databricks) GetName ¶ added in v16.7.0
func (m *Databricks) GetName() string
GetName returns the name of the Databricks.
func (*Databricks) GetSecretStoreID ¶ added in v16.7.0
func (m *Databricks) GetSecretStoreID() string
GetSecretStoreID returns the secret store id of the Databricks.
func (*Databricks) GetTags ¶ added in v16.7.0
func (m *Databricks) GetTags() Tags
GetTags returns the tags of the Databricks.
func (*Databricks) SetBindInterface ¶ added in v16.7.0
func (m *Databricks) SetBindInterface(v string)
SetBindInterface sets the bind interface of the Databricks.
func (*Databricks) SetEgressFilter ¶ added in v16.7.0
func (m *Databricks) SetEgressFilter(v string)
SetEgressFilter sets the egress filter of the Databricks.
func (*Databricks) SetName ¶ added in v16.7.0
func (m *Databricks) SetName(v string)
SetName sets the name of the Databricks.
func (*Databricks) SetSecretStoreID ¶ added in v16.7.0
func (m *Databricks) SetSecretStoreID(v string)
SetSecretStoreID sets the secret store id of the Databricks.
func (*Databricks) SetTags ¶ added in v16.7.0
func (m *Databricks) SetTags(v Tags)
SetTags sets the tags of the Databricks.
type DeadlineExceededError ¶
type DeadlineExceededError struct {
// Wrapped is a underlying error.
Wrapped error
}
DeadlineExceededError indicates a timeout occurred.
func (*DeadlineExceededError) Code ¶
func (e *DeadlineExceededError) Code() int
func (*DeadlineExceededError) Error ¶
func (e *DeadlineExceededError) Error() string
func (*DeadlineExceededError) Unwrap ¶
func (e *DeadlineExceededError) Unwrap() error
type DeleteResponseMetadata ¶
type DeleteResponseMetadata struct {
}
DeleteResponseMetadata is reserved for future use.
type DelineaStore ¶
type DelineaStore struct {
// Unique identifier of the SecretStore.
ID string `json:"id"`
// Unique human-readable name of the SecretStore.
Name string `json:"name"`
// The URL of the Delinea instance
ServerUrl string `json:"serverUrl"`
// Tags is a map of key, value pairs.
Tags Tags `json:"tags"`
// The tenant name to target
TenantName string `json:"tenantName"`
}
func (*DelineaStore) GetID ¶
func (m *DelineaStore) GetID() string
GetID returns the unique identifier of the DelineaStore.
func (*DelineaStore) GetName ¶
func (m *DelineaStore) GetName() string
GetName returns the name of the DelineaStore.
func (*DelineaStore) GetTags ¶
func (m *DelineaStore) GetTags() Tags
GetTags returns the tags of the DelineaStore.
func (*DelineaStore) SetName ¶
func (m *DelineaStore) SetName(v string)
SetName sets the name of the DelineaStore.
func (*DelineaStore) SetTags ¶
func (m *DelineaStore) SetTags(v Tags)
SetTags sets the tags of the DelineaStore.
type DiscoveryConnectors ¶
type DiscoveryConnectors struct {
// contains filtered or unexported fields
}
A Discovery Connector is a configuration object for performing Resource Scans in remote systems such as AWS, GCP, Azure, and other systems.
func (*DiscoveryConnectors) Create ¶
func (svc *DiscoveryConnectors) Create( ctx context.Context, connector Connector) ( *ConnectorCreateResponse, error)
Create adds a new Connector.
func (*DiscoveryConnectors) Delete ¶
func (svc *DiscoveryConnectors) Delete( ctx context.Context, id string) ( *ConnectorDeleteResponse, error)
Delete removes a Connector by ID.
func (*DiscoveryConnectors) Get ¶
func (svc *DiscoveryConnectors) Get( ctx context.Context, id string) ( *ConnectorGetResponse, error)
Get reads one Connector by ID
func (*DiscoveryConnectors) List ¶
func (svc *DiscoveryConnectors) List( ctx context.Context, filter string, args ...interface{}) ( ConnectorIterator, error)
List gets a list of Connectors matching a given set of criteria.
func (*DiscoveryConnectors) Update ¶
func (svc *DiscoveryConnectors) Update( ctx context.Context, connector Connector) ( *ConnectorUpdateResponse, error)
Update replaces all the fields of a Connector by ID.
type DocumentDBHost ¶
type DocumentDBHost struct {
// The authentication database to use.
AuthDatabase string `json:"authDatabase"`
// The bind interface is the IP address to which the port override of a resource is bound (for example, 127.0.0.1). It is automatically generated if not provided and may also be set to one of the ResourceIPAllocationMode constants to select between VNM, loopback, or default allocation.
BindInterface string `json:"bindInterface"`
// A filter applied to the routing logic to pin datasource to nodes.
EgressFilter string `json:"egressFilter"`
// True if the datasource is reachable and the credentials are valid.
Healthy bool `json:"healthy"`
// The host to dial to initiate a connection from the egress node to this resource.
Hostname string `json:"hostname"`
// Unique identifier of the Resource.
ID string `json:"id"`
// Unique human-readable name of the Resource.
Name string `json:"name"`
// The password to authenticate with.
Password string `json:"password"`
// The port to dial to initiate a connection from the egress node to this resource.
Port int32 `json:"port"`
// The local port used by clients to connect to this resource. It is automatically generated if not provided on create and may be re-generated on update by specifying a value of -1.
PortOverride int32 `json:"portOverride"`
// ID of the proxy cluster for this resource, if any.
ProxyClusterID string `json:"proxyClusterId"`
// ID of the secret store containing credentials for this resource, if any.
SecretStoreID string `json:"secretStoreId"`
// DNS subdomain through which this resource may be accessed on clients. (e.g. "app-prod1" allows the resource to be accessed at "app-prod1.your-org-name.sdm-proxy-domain"). Only applicable to HTTP-based resources or resources using virtual networking mode.
Subdomain string `json:"subdomain"`
// Tags is a map of key, value pairs.
Tags Tags `json:"tags"`
// The username to authenticate with.
Username string `json:"username"`
}
func (*DocumentDBHost) GetBindInterface ¶
func (m *DocumentDBHost) GetBindInterface() string
GetBindInterface returns the bind interface of the DocumentDBHost.
func (*DocumentDBHost) GetEgressFilter ¶
func (m *DocumentDBHost) GetEgressFilter() string
GetEgressFilter returns the egress filter of the DocumentDBHost.
func (*DocumentDBHost) GetID ¶
func (m *DocumentDBHost) GetID() string
GetID returns the unique identifier of the DocumentDBHost.
func (*DocumentDBHost) GetName ¶
func (m *DocumentDBHost) GetName() string
GetName returns the name of the DocumentDBHost.
func (*DocumentDBHost) GetSecretStoreID ¶
func (m *DocumentDBHost) GetSecretStoreID() string
GetSecretStoreID returns the secret store id of the DocumentDBHost.
func (*DocumentDBHost) GetTags ¶
func (m *DocumentDBHost) GetTags() Tags
GetTags returns the tags of the DocumentDBHost.
func (*DocumentDBHost) SetBindInterface ¶
func (m *DocumentDBHost) SetBindInterface(v string)
SetBindInterface sets the bind interface of the DocumentDBHost.
func (*DocumentDBHost) SetEgressFilter ¶
func (m *DocumentDBHost) SetEgressFilter(v string)
SetEgressFilter sets the egress filter of the DocumentDBHost.
func (*DocumentDBHost) SetName ¶
func (m *DocumentDBHost) SetName(v string)
SetName sets the name of the DocumentDBHost.
func (*DocumentDBHost) SetSecretStoreID ¶
func (m *DocumentDBHost) SetSecretStoreID(v string)
SetSecretStoreID sets the secret store id of the DocumentDBHost.
func (*DocumentDBHost) SetTags ¶
func (m *DocumentDBHost) SetTags(v Tags)
SetTags sets the tags of the DocumentDBHost.
type DocumentDBHostIAM ¶
type DocumentDBHostIAM struct {
// The bind interface is the IP address to which the port override of a resource is bound (for example, 127.0.0.1). It is automatically generated if not provided and may also be set to one of the ResourceIPAllocationMode constants to select between VNM, loopback, or default allocation.
BindInterface string `json:"bindInterface"`
// A filter applied to the routing logic to pin datasource to nodes.
EgressFilter string `json:"egressFilter"`
// True if the datasource is reachable and the credentials are valid.
Healthy bool `json:"healthy"`
// The host to dial to initiate a connection from the egress node to this resource.
Hostname string `json:"hostname"`
// Unique identifier of the Resource.
ID string `json:"id"`
// Unique human-readable name of the Resource.
Name string `json:"name"`
// The port to dial to initiate a connection from the egress node to this resource.
Port int32 `json:"port"`
// The local port used by clients to connect to this resource. It is automatically generated if not provided on create and may be re-generated on update by specifying a value of -1.
PortOverride int32 `json:"portOverride"`
// ID of the proxy cluster for this resource, if any.
ProxyClusterID string `json:"proxyClusterId"`
// The AWS region to connect to.
Region string `json:"region"`
// ID of the secret store containing credentials for this resource, if any.
SecretStoreID string `json:"secretStoreId"`
// DNS subdomain through which this resource may be accessed on clients. (e.g. "app-prod1" allows the resource to be accessed at "app-prod1.your-org-name.sdm-proxy-domain"). Only applicable to HTTP-based resources or resources using virtual networking mode.
Subdomain string `json:"subdomain"`
// Tags is a map of key, value pairs.
Tags Tags `json:"tags"`
}
func (*DocumentDBHostIAM) GetBindInterface ¶
func (m *DocumentDBHostIAM) GetBindInterface() string
GetBindInterface returns the bind interface of the DocumentDBHostIAM.
func (*DocumentDBHostIAM) GetEgressFilter ¶
func (m *DocumentDBHostIAM) GetEgressFilter() string
GetEgressFilter returns the egress filter of the DocumentDBHostIAM.
func (*DocumentDBHostIAM) GetID ¶
func (m *DocumentDBHostIAM) GetID() string
GetID returns the unique identifier of the DocumentDBHostIAM.
func (*DocumentDBHostIAM) GetName ¶
func (m *DocumentDBHostIAM) GetName() string
GetName returns the name of the DocumentDBHostIAM.
func (*DocumentDBHostIAM) GetSecretStoreID ¶
func (m *DocumentDBHostIAM) GetSecretStoreID() string
GetSecretStoreID returns the secret store id of the DocumentDBHostIAM.
func (*DocumentDBHostIAM) GetTags ¶
func (m *DocumentDBHostIAM) GetTags() Tags
GetTags returns the tags of the DocumentDBHostIAM.
func (*DocumentDBHostIAM) SetBindInterface ¶
func (m *DocumentDBHostIAM) SetBindInterface(v string)
SetBindInterface sets the bind interface of the DocumentDBHostIAM.
func (*DocumentDBHostIAM) SetEgressFilter ¶
func (m *DocumentDBHostIAM) SetEgressFilter(v string)
SetEgressFilter sets the egress filter of the DocumentDBHostIAM.
func (*DocumentDBHostIAM) SetName ¶
func (m *DocumentDBHostIAM) SetName(v string)
SetName sets the name of the DocumentDBHostIAM.
func (*DocumentDBHostIAM) SetSecretStoreID ¶
func (m *DocumentDBHostIAM) SetSecretStoreID(v string)
SetSecretStoreID sets the secret store id of the DocumentDBHostIAM.
func (*DocumentDBHostIAM) SetTags ¶
func (m *DocumentDBHostIAM) SetTags(v Tags)
SetTags sets the tags of the DocumentDBHostIAM.
type DocumentDBReplicaSet ¶
type DocumentDBReplicaSet struct {
// The authentication database to use.
AuthDatabase string `json:"authDatabase"`
// The bind interface is the IP address to which the port override of a resource is bound (for example, 127.0.0.1). It is automatically generated if not provided and may also be set to one of the ResourceIPAllocationMode constants to select between VNM, loopback, or default allocation.
BindInterface string `json:"bindInterface"`
// Set to connect to a replica instead of the primary node.
ConnectToReplica bool `json:"connectToReplica"`
// A filter applied to the routing logic to pin datasource to nodes.
EgressFilter string `json:"egressFilter"`
// True if the datasource is reachable and the credentials are valid.
Healthy bool `json:"healthy"`
// Hostname must contain the hostname/port pairs of all instances in the replica set separated by commas.
Hostname string `json:"hostname"`
// Unique identifier of the Resource.
ID string `json:"id"`
// Unique human-readable name of the Resource.
Name string `json:"name"`
// The password to authenticate with.
Password string `json:"password"`
// The local port used by clients to connect to this resource. It is automatically generated if not provided on create and may be re-generated on update by specifying a value of -1.
PortOverride int32 `json:"portOverride"`
// ID of the proxy cluster for this resource, if any.
ProxyClusterID string `json:"proxyClusterId"`
// ID of the secret store containing credentials for this resource, if any.
SecretStoreID string `json:"secretStoreId"`
// DNS subdomain through which this resource may be accessed on clients. (e.g. "app-prod1" allows the resource to be accessed at "app-prod1.your-org-name.sdm-proxy-domain"). Only applicable to HTTP-based resources or resources using virtual networking mode.
Subdomain string `json:"subdomain"`
// Tags is a map of key, value pairs.
Tags Tags `json:"tags"`
// The username to authenticate with.
Username string `json:"username"`
}
func (*DocumentDBReplicaSet) GetBindInterface ¶
func (m *DocumentDBReplicaSet) GetBindInterface() string
GetBindInterface returns the bind interface of the DocumentDBReplicaSet.
func (*DocumentDBReplicaSet) GetEgressFilter ¶
func (m *DocumentDBReplicaSet) GetEgressFilter() string
GetEgressFilter returns the egress filter of the DocumentDBReplicaSet.
func (*DocumentDBReplicaSet) GetID ¶
func (m *DocumentDBReplicaSet) GetID() string
GetID returns the unique identifier of the DocumentDBReplicaSet.
func (*DocumentDBReplicaSet) GetName ¶
func (m *DocumentDBReplicaSet) GetName() string
GetName returns the name of the DocumentDBReplicaSet.
func (*DocumentDBReplicaSet) GetSecretStoreID ¶
func (m *DocumentDBReplicaSet) GetSecretStoreID() string
GetSecretStoreID returns the secret store id of the DocumentDBReplicaSet.
func (*DocumentDBReplicaSet) GetTags ¶
func (m *DocumentDBReplicaSet) GetTags() Tags
GetTags returns the tags of the DocumentDBReplicaSet.
func (*DocumentDBReplicaSet) SetBindInterface ¶
func (m *DocumentDBReplicaSet) SetBindInterface(v string)
SetBindInterface sets the bind interface of the DocumentDBReplicaSet.
func (*DocumentDBReplicaSet) SetEgressFilter ¶
func (m *DocumentDBReplicaSet) SetEgressFilter(v string)
SetEgressFilter sets the egress filter of the DocumentDBReplicaSet.
func (*DocumentDBReplicaSet) SetName ¶
func (m *DocumentDBReplicaSet) SetName(v string)
SetName sets the name of the DocumentDBReplicaSet.
func (*DocumentDBReplicaSet) SetSecretStoreID ¶
func (m *DocumentDBReplicaSet) SetSecretStoreID(v string)
SetSecretStoreID sets the secret store id of the DocumentDBReplicaSet.
func (*DocumentDBReplicaSet) SetTags ¶
func (m *DocumentDBReplicaSet) SetTags(v Tags)
SetTags sets the tags of the DocumentDBReplicaSet.
type DocumentDBReplicaSetIAM ¶
type DocumentDBReplicaSetIAM struct {
// The bind interface is the IP address to which the port override of a resource is bound (for example, 127.0.0.1). It is automatically generated if not provided and may also be set to one of the ResourceIPAllocationMode constants to select between VNM, loopback, or default allocation.
BindInterface string `json:"bindInterface"`
// Set to connect to a replica instead of the primary node.
ConnectToReplica bool `json:"connectToReplica"`
// A filter applied to the routing logic to pin datasource to nodes.
EgressFilter string `json:"egressFilter"`
// True if the datasource is reachable and the credentials are valid.
Healthy bool `json:"healthy"`
// Hostname must contain the hostname/port pairs of all instances in the replica set separated by commas.
Hostname string `json:"hostname"`
// Unique identifier of the Resource.
ID string `json:"id"`
// Unique human-readable name of the Resource.
Name string `json:"name"`
// The local port used by clients to connect to this resource. It is automatically generated if not provided on create and may be re-generated on update by specifying a value of -1.
PortOverride int32 `json:"portOverride"`
// ID of the proxy cluster for this resource, if any.
ProxyClusterID string `json:"proxyClusterId"`
// The region of the document db cluster
Region string `json:"region"`
// ID of the secret store containing credentials for this resource, if any.
SecretStoreID string `json:"secretStoreId"`
// DNS subdomain through which this resource may be accessed on clients. (e.g. "app-prod1" allows the resource to be accessed at "app-prod1.your-org-name.sdm-proxy-domain"). Only applicable to HTTP-based resources or resources using virtual networking mode.
Subdomain string `json:"subdomain"`
// Tags is a map of key, value pairs.
Tags Tags `json:"tags"`
}
DocumentDBReplicaSetIAM is currently unstable, and its API may change, or it may be removed, without a major version bump.
func (*DocumentDBReplicaSetIAM) GetBindInterface ¶
func (m *DocumentDBReplicaSetIAM) GetBindInterface() string
GetBindInterface returns the bind interface of the DocumentDBReplicaSetIAM.
func (*DocumentDBReplicaSetIAM) GetEgressFilter ¶
func (m *DocumentDBReplicaSetIAM) GetEgressFilter() string
GetEgressFilter returns the egress filter of the DocumentDBReplicaSetIAM.
func (*DocumentDBReplicaSetIAM) GetID ¶
func (m *DocumentDBReplicaSetIAM) GetID() string
GetID returns the unique identifier of the DocumentDBReplicaSetIAM.
func (*DocumentDBReplicaSetIAM) GetName ¶
func (m *DocumentDBReplicaSetIAM) GetName() string
GetName returns the name of the DocumentDBReplicaSetIAM.
func (*DocumentDBReplicaSetIAM) GetSecretStoreID ¶
func (m *DocumentDBReplicaSetIAM) GetSecretStoreID() string
GetSecretStoreID returns the secret store id of the DocumentDBReplicaSetIAM.
func (*DocumentDBReplicaSetIAM) GetTags ¶
func (m *DocumentDBReplicaSetIAM) GetTags() Tags
GetTags returns the tags of the DocumentDBReplicaSetIAM.
func (*DocumentDBReplicaSetIAM) SetBindInterface ¶
func (m *DocumentDBReplicaSetIAM) SetBindInterface(v string)
SetBindInterface sets the bind interface of the DocumentDBReplicaSetIAM.
func (*DocumentDBReplicaSetIAM) SetEgressFilter ¶
func (m *DocumentDBReplicaSetIAM) SetEgressFilter(v string)
SetEgressFilter sets the egress filter of the DocumentDBReplicaSetIAM.
func (*DocumentDBReplicaSetIAM) SetName ¶
func (m *DocumentDBReplicaSetIAM) SetName(v string)
SetName sets the name of the DocumentDBReplicaSetIAM.
func (*DocumentDBReplicaSetIAM) SetSecretStoreID ¶
func (m *DocumentDBReplicaSetIAM) SetSecretStoreID(v string)
SetSecretStoreID sets the secret store id of the DocumentDBReplicaSetIAM.
func (*DocumentDBReplicaSetIAM) SetTags ¶
func (m *DocumentDBReplicaSetIAM) SetTags(v Tags)
SetTags sets the tags of the DocumentDBReplicaSetIAM.
type Druid ¶
type Druid struct {
// The bind interface is the IP address to which the port override of a resource is bound (for example, 127.0.0.1). It is automatically generated if not provided and may also be set to one of the ResourceIPAllocationMode constants to select between VNM, loopback, or default allocation.
BindInterface string `json:"bindInterface"`
// A filter applied to the routing logic to pin datasource to nodes.
EgressFilter string `json:"egressFilter"`
// True if the datasource is reachable and the credentials are valid.
Healthy bool `json:"healthy"`
// The host to dial to initiate a connection from the egress node to this resource.
Hostname string `json:"hostname"`
// Unique identifier of the Resource.
ID string `json:"id"`
// Unique human-readable name of the Resource.
Name string `json:"name"`
// The password to authenticate with.
Password string `json:"password"`
// The port to dial to initiate a connection from the egress node to this resource.
Port int32 `json:"port"`
// The local port used by clients to connect to this resource. It is automatically generated if not provided on create and may be re-generated on update by specifying a value of -1.
PortOverride int32 `json:"portOverride"`
// ID of the proxy cluster for this resource, if any.
ProxyClusterID string `json:"proxyClusterId"`
// ID of the secret store containing credentials for this resource, if any.
SecretStoreID string `json:"secretStoreId"`
// DNS subdomain through which this resource may be accessed on clients. (e.g. "app-prod1" allows the resource to be accessed at "app-prod1.your-org-name.sdm-proxy-domain"). Only applicable to HTTP-based resources or resources using virtual networking mode.
Subdomain string `json:"subdomain"`
// Tags is a map of key, value pairs.
Tags Tags `json:"tags"`
// The username to authenticate with.
Username string `json:"username"`
}
func (*Druid) GetBindInterface ¶
GetBindInterface returns the bind interface of the Druid.
func (*Druid) GetEgressFilter ¶
GetEgressFilter returns the egress filter of the Druid.
func (*Druid) GetSecretStoreID ¶
GetSecretStoreID returns the secret store id of the Druid.
func (*Druid) SetBindInterface ¶
SetBindInterface sets the bind interface of the Druid.
func (*Druid) SetEgressFilter ¶
SetEgressFilter sets the egress filter of the Druid.
func (*Druid) SetSecretStoreID ¶
SetSecretStoreID sets the secret store id of the Druid.
type DynamoDB ¶
type DynamoDB struct {
// The Access Key ID to use to authenticate.
AccessKey string `json:"accessKey"`
// The bind interface is the IP address to which the port override of a resource is bound (for example, 127.0.0.1). It is automatically generated if not provided and may also be set to one of the ResourceIPAllocationMode constants to select between VNM, loopback, or default allocation.
BindInterface string `json:"bindInterface"`
// A filter applied to the routing logic to pin datasource to nodes.
EgressFilter string `json:"egressFilter"`
// The endpoint to dial e.g. dynamodb.region.amazonaws.com
Endpoint string `json:"endpoint"`
// True if the datasource is reachable and the credentials are valid.
Healthy bool `json:"healthy"`
// Unique identifier of the Resource.
ID string `json:"id"`
// Unique human-readable name of the Resource.
Name string `json:"name"`
// The local port used by clients to connect to this resource. It is automatically generated if not provided on create and may be re-generated on update by specifying a value of -1.
PortOverride int32 `json:"portOverride"`
// ID of the proxy cluster for this resource, if any.
ProxyClusterID string `json:"proxyClusterId"`
// The region to authenticate requests against e.g. us-east-1
Region string `json:"region"`
// The role to assume after logging in.
RoleArn string `json:"roleArn"`
// The external ID to associate with assume role requests. Does nothing if a role ARN is not provided.
RoleExternalID string `json:"roleExternalId"`
// The Secret Access Key to use to authenticate.
SecretAccessKey string `json:"secretAccessKey"`
// ID of the secret store containing credentials for this resource, if any.
SecretStoreID string `json:"secretStoreId"`
// DNS subdomain through which this resource may be accessed on clients. (e.g. "app-prod1" allows the resource to be accessed at "app-prod1.your-org-name.sdm-proxy-domain"). Only applicable to HTTP-based resources or resources using virtual networking mode.
Subdomain string `json:"subdomain"`
// Tags is a map of key, value pairs.
Tags Tags `json:"tags"`
}
func (*DynamoDB) GetBindInterface ¶
GetBindInterface returns the bind interface of the DynamoDB.
func (*DynamoDB) GetEgressFilter ¶
GetEgressFilter returns the egress filter of the DynamoDB.
func (*DynamoDB) GetSecretStoreID ¶
GetSecretStoreID returns the secret store id of the DynamoDB.
func (*DynamoDB) SetBindInterface ¶
SetBindInterface sets the bind interface of the DynamoDB.
func (*DynamoDB) SetEgressFilter ¶
SetEgressFilter sets the egress filter of the DynamoDB.
func (*DynamoDB) SetSecretStoreID ¶
SetSecretStoreID sets the secret store id of the DynamoDB.
type DynamoDBIAM ¶
type DynamoDBIAM struct {
// The bind interface is the IP address to which the port override of a resource is bound (for example, 127.0.0.1). It is automatically generated if not provided and may also be set to one of the ResourceIPAllocationMode constants to select between VNM, loopback, or default allocation.
BindInterface string `json:"bindInterface"`
// A filter applied to the routing logic to pin datasource to nodes.
EgressFilter string `json:"egressFilter"`
// The endpoint to dial e.g. dynamodb.region.amazonaws.com
Endpoint string `json:"endpoint"`
// True if the datasource is reachable and the credentials are valid.
Healthy bool `json:"healthy"`
// Unique identifier of the Resource.
ID string `json:"id"`
// Unique human-readable name of the Resource.
Name string `json:"name"`
// The local port used by clients to connect to this resource. It is automatically generated if not provided on create and may be re-generated on update by specifying a value of -1.
PortOverride int32 `json:"portOverride"`
// ID of the proxy cluster for this resource, if any.
ProxyClusterID string `json:"proxyClusterId"`
// The region to authenticate requests against e.g. us-east-1
Region string `json:"region"`
// The role to assume after logging in.
RoleArn string `json:"roleArn"`
// The external ID to associate with assume role requests. Does nothing if a role ARN is not provided.
RoleExternalID string `json:"roleExternalId"`
// ID of the secret store containing credentials for this resource, if any.
SecretStoreID string `json:"secretStoreId"`
// DNS subdomain through which this resource may be accessed on clients. (e.g. "app-prod1" allows the resource to be accessed at "app-prod1.your-org-name.sdm-proxy-domain"). Only applicable to HTTP-based resources or resources using virtual networking mode.
Subdomain string `json:"subdomain"`
// Tags is a map of key, value pairs.
Tags Tags `json:"tags"`
}
func (*DynamoDBIAM) GetBindInterface ¶
func (m *DynamoDBIAM) GetBindInterface() string
GetBindInterface returns the bind interface of the DynamoDBIAM.
func (*DynamoDBIAM) GetEgressFilter ¶
func (m *DynamoDBIAM) GetEgressFilter() string
GetEgressFilter returns the egress filter of the DynamoDBIAM.
func (*DynamoDBIAM) GetID ¶
func (m *DynamoDBIAM) GetID() string
GetID returns the unique identifier of the DynamoDBIAM.
func (*DynamoDBIAM) GetName ¶
func (m *DynamoDBIAM) GetName() string
GetName returns the name of the DynamoDBIAM.
func (*DynamoDBIAM) GetSecretStoreID ¶
func (m *DynamoDBIAM) GetSecretStoreID() string
GetSecretStoreID returns the secret store id of the DynamoDBIAM.
func (*DynamoDBIAM) GetTags ¶
func (m *DynamoDBIAM) GetTags() Tags
GetTags returns the tags of the DynamoDBIAM.
func (*DynamoDBIAM) SetBindInterface ¶
func (m *DynamoDBIAM) SetBindInterface(v string)
SetBindInterface sets the bind interface of the DynamoDBIAM.
func (*DynamoDBIAM) SetEgressFilter ¶
func (m *DynamoDBIAM) SetEgressFilter(v string)
SetEgressFilter sets the egress filter of the DynamoDBIAM.
func (*DynamoDBIAM) SetName ¶
func (m *DynamoDBIAM) SetName(v string)
SetName sets the name of the DynamoDBIAM.
func (*DynamoDBIAM) SetSecretStoreID ¶
func (m *DynamoDBIAM) SetSecretStoreID(v string)
SetSecretStoreID sets the secret store id of the DynamoDBIAM.
func (*DynamoDBIAM) SetTags ¶
func (m *DynamoDBIAM) SetTags(v Tags)
SetTags sets the tags of the DynamoDBIAM.
type Elastic ¶
type Elastic struct {
// The bind interface is the IP address to which the port override of a resource is bound (for example, 127.0.0.1). It is automatically generated if not provided and may also be set to one of the ResourceIPAllocationMode constants to select between VNM, loopback, or default allocation.
BindInterface string `json:"bindInterface"`
// A filter applied to the routing logic to pin datasource to nodes.
EgressFilter string `json:"egressFilter"`
// True if the datasource is reachable and the credentials are valid.
Healthy bool `json:"healthy"`
// The host to dial to initiate a connection from the egress node to this resource.
Hostname string `json:"hostname"`
// Unique identifier of the Resource.
ID string `json:"id"`
// Unique human-readable name of the Resource.
Name string `json:"name"`
// The password to authenticate with.
Password string `json:"password"`
// The port to dial to initiate a connection from the egress node to this resource.
Port int32 `json:"port"`
// The local port used by clients to connect to this resource. It is automatically generated if not provided on create and may be re-generated on update by specifying a value of -1.
PortOverride int32 `json:"portOverride"`
// ID of the proxy cluster for this resource, if any.
ProxyClusterID string `json:"proxyClusterId"`
// ID of the secret store containing credentials for this resource, if any.
SecretStoreID string `json:"secretStoreId"`
// DNS subdomain through which this resource may be accessed on clients. (e.g. "app-prod1" allows the resource to be accessed at "app-prod1.your-org-name.sdm-proxy-domain"). Only applicable to HTTP-based resources or resources using virtual networking mode.
Subdomain string `json:"subdomain"`
// Tags is a map of key, value pairs.
Tags Tags `json:"tags"`
// If set, TLS must be used to connect to this resource.
TlsRequired bool `json:"tlsRequired"`
// The username to authenticate with.
Username string `json:"username"`
}
func (*Elastic) GetBindInterface ¶
GetBindInterface returns the bind interface of the Elastic.
func (*Elastic) GetEgressFilter ¶
GetEgressFilter returns the egress filter of the Elastic.
func (*Elastic) GetSecretStoreID ¶
GetSecretStoreID returns the secret store id of the Elastic.
func (*Elastic) SetBindInterface ¶
SetBindInterface sets the bind interface of the Elastic.
func (*Elastic) SetEgressFilter ¶
SetEgressFilter sets the egress filter of the Elastic.
func (*Elastic) SetSecretStoreID ¶
SetSecretStoreID sets the secret store id of the Elastic.
type ElasticacheRedis ¶
type ElasticacheRedis struct {
// The bind interface is the IP address to which the port override of a resource is bound (for example, 127.0.0.1). It is automatically generated if not provided and may also be set to one of the ResourceIPAllocationMode constants to select between VNM, loopback, or default allocation.
BindInterface string `json:"bindInterface"`
// A filter applied to the routing logic to pin datasource to nodes.
EgressFilter string `json:"egressFilter"`
// True if the datasource is reachable and the credentials are valid.
Healthy bool `json:"healthy"`
// The host to dial to initiate a connection from the egress node to this resource.
Hostname string `json:"hostname"`
// Unique identifier of the Resource.
ID string `json:"id"`
// Unique human-readable name of the Resource.
Name string `json:"name"`
// The password to authenticate with.
Password string `json:"password"`
// The port to dial to initiate a connection from the egress node to this resource.
Port int32 `json:"port"`
// The local port used by clients to connect to this resource. It is automatically generated if not provided on create and may be re-generated on update by specifying a value of -1.
PortOverride int32 `json:"portOverride"`
// ID of the proxy cluster for this resource, if any.
ProxyClusterID string `json:"proxyClusterId"`
// ID of the secret store containing credentials for this resource, if any.
SecretStoreID string `json:"secretStoreId"`
// DNS subdomain through which this resource may be accessed on clients. (e.g. "app-prod1" allows the resource to be accessed at "app-prod1.your-org-name.sdm-proxy-domain"). Only applicable to HTTP-based resources or resources using virtual networking mode.
Subdomain string `json:"subdomain"`
// Tags is a map of key, value pairs.
Tags Tags `json:"tags"`
// If set, TLS must be used to connect to this resource.
TlsRequired bool `json:"tlsRequired"`
// The username to authenticate with.
Username string `json:"username"`
}
func (*ElasticacheRedis) GetBindInterface ¶
func (m *ElasticacheRedis) GetBindInterface() string
GetBindInterface returns the bind interface of the ElasticacheRedis.
func (*ElasticacheRedis) GetEgressFilter ¶
func (m *ElasticacheRedis) GetEgressFilter() string
GetEgressFilter returns the egress filter of the ElasticacheRedis.
func (*ElasticacheRedis) GetID ¶
func (m *ElasticacheRedis) GetID() string
GetID returns the unique identifier of the ElasticacheRedis.
func (*ElasticacheRedis) GetName ¶
func (m *ElasticacheRedis) GetName() string
GetName returns the name of the ElasticacheRedis.
func (*ElasticacheRedis) GetSecretStoreID ¶
func (m *ElasticacheRedis) GetSecretStoreID() string
GetSecretStoreID returns the secret store id of the ElasticacheRedis.
func (*ElasticacheRedis) GetTags ¶
func (m *ElasticacheRedis) GetTags() Tags
GetTags returns the tags of the ElasticacheRedis.
func (*ElasticacheRedis) SetBindInterface ¶
func (m *ElasticacheRedis) SetBindInterface(v string)
SetBindInterface sets the bind interface of the ElasticacheRedis.
func (*ElasticacheRedis) SetEgressFilter ¶
func (m *ElasticacheRedis) SetEgressFilter(v string)
SetEgressFilter sets the egress filter of the ElasticacheRedis.
func (*ElasticacheRedis) SetName ¶
func (m *ElasticacheRedis) SetName(v string)
SetName sets the name of the ElasticacheRedis.
func (*ElasticacheRedis) SetSecretStoreID ¶
func (m *ElasticacheRedis) SetSecretStoreID(v string)
SetSecretStoreID sets the secret store id of the ElasticacheRedis.
func (*ElasticacheRedis) SetTags ¶
func (m *ElasticacheRedis) SetTags(v Tags)
SetTags sets the tags of the ElasticacheRedis.
type ElasticacheRedisIAM ¶
type ElasticacheRedisIAM struct {
// The bind interface is the IP address to which the port override of a resource is bound (for example, 127.0.0.1). It is automatically generated if not provided and may also be set to one of the ResourceIPAllocationMode constants to select between VNM, loopback, or default allocation.
BindInterface string `json:"bindInterface"`
// A filter applied to the routing logic to pin datasource to nodes.
EgressFilter string `json:"egressFilter"`
// True if the datasource is reachable and the credentials are valid.
Healthy bool `json:"healthy"`
// The host to dial to initiate a connection from the egress node to this resource.
Hostname string `json:"hostname"`
// Unique identifier of the Resource.
ID string `json:"id"`
// Unique human-readable name of the Resource.
Name string `json:"name"`
// The port to dial to initiate a connection from the egress node to this resource.
Port int32 `json:"port"`
// The local port used by clients to connect to this resource. It is automatically generated if not provided on create and may be re-generated on update by specifying a value of -1.
PortOverride int32 `json:"portOverride"`
// ID of the proxy cluster for this resource, if any.
ProxyClusterID string `json:"proxyClusterId"`
// AWS region is needed in addition to hostname to generate the IAM signature
Region string `json:"region"`
// If provided, the gateway/relay will try to assume this role instead of the underlying compute's role.
RoleAssumptionArn string `json:"roleAssumptionArn"`
// The external ID to associate with assume role requests. Does nothing if a role ARN is not provided.
RoleExternalID string `json:"roleExternalId"`
// ID of the secret store containing credentials for this resource, if any.
SecretStoreID string `json:"secretStoreId"`
// DNS subdomain through which this resource may be accessed on clients. (e.g. "app-prod1" allows the resource to be accessed at "app-prod1.your-org-name.sdm-proxy-domain"). Only applicable to HTTP-based resources or resources using virtual networking mode.
Subdomain string `json:"subdomain"`
// Tags is a map of key, value pairs.
Tags Tags `json:"tags"`
// If set, TLS must be used to connect to this resource.
TlsRequired bool `json:"tlsRequired"`
// The username to authenticate with.
Username string `json:"username"`
}
ElasticacheRedisIAM is currently unstable, and its API may change, or it may be removed, without a major version bump.
func (*ElasticacheRedisIAM) GetBindInterface ¶
func (m *ElasticacheRedisIAM) GetBindInterface() string
GetBindInterface returns the bind interface of the ElasticacheRedisIAM.
func (*ElasticacheRedisIAM) GetEgressFilter ¶
func (m *ElasticacheRedisIAM) GetEgressFilter() string
GetEgressFilter returns the egress filter of the ElasticacheRedisIAM.
func (*ElasticacheRedisIAM) GetID ¶
func (m *ElasticacheRedisIAM) GetID() string
GetID returns the unique identifier of the ElasticacheRedisIAM.
func (*ElasticacheRedisIAM) GetName ¶
func (m *ElasticacheRedisIAM) GetName() string
GetName returns the name of the ElasticacheRedisIAM.
func (*ElasticacheRedisIAM) GetSecretStoreID ¶
func (m *ElasticacheRedisIAM) GetSecretStoreID() string
GetSecretStoreID returns the secret store id of the ElasticacheRedisIAM.
func (*ElasticacheRedisIAM) GetTags ¶
func (m *ElasticacheRedisIAM) GetTags() Tags
GetTags returns the tags of the ElasticacheRedisIAM.
func (*ElasticacheRedisIAM) SetBindInterface ¶
func (m *ElasticacheRedisIAM) SetBindInterface(v string)
SetBindInterface sets the bind interface of the ElasticacheRedisIAM.
func (*ElasticacheRedisIAM) SetEgressFilter ¶
func (m *ElasticacheRedisIAM) SetEgressFilter(v string)
SetEgressFilter sets the egress filter of the ElasticacheRedisIAM.
func (*ElasticacheRedisIAM) SetName ¶
func (m *ElasticacheRedisIAM) SetName(v string)
SetName sets the name of the ElasticacheRedisIAM.
func (*ElasticacheRedisIAM) SetSecretStoreID ¶
func (m *ElasticacheRedisIAM) SetSecretStoreID(v string)
SetSecretStoreID sets the secret store id of the ElasticacheRedisIAM.
func (*ElasticacheRedisIAM) SetTags ¶
func (m *ElasticacheRedisIAM) SetTags(v Tags)
SetTags sets the tags of the ElasticacheRedisIAM.
type EntraGroupsPrivileges ¶
type EntraGroupsPrivileges struct {
// Groups is the list of Entra groups one will be added to
// when granted access to an Azure Console resource.
Groups []string `json:"groups,omitempty"`
}
func (EntraGroupsPrivileges) IsZero ¶
func (p EntraGroupsPrivileges) IsZero() bool
type EntraID ¶
type EntraID struct {
// The bind interface is the IP address to which the port override of a resource is bound (for example, 127.0.0.1). It is automatically generated if not provided and may also be set to one of the ResourceIPAllocationMode constants to select between VNM, loopback, or default allocation.
BindInterface string `json:"bindInterface"`
// If true, configures discovery of the tenant to be run from a node.
DiscoveryEnabled bool `json:"discoveryEnabled"`
// A filter applied to the routing logic to pin datasource to nodes.
EgressFilter string `json:"egressFilter"`
// comma separated list of group names to filter by. Supports wildcards (*)
GroupNames string `json:"groupNames"`
// True if the datasource is reachable and the credentials are valid.
Healthy bool `json:"healthy"`
// Unique identifier of the Resource.
ID string `json:"id"`
// The ID of the identity set to use for identity connections.
IdentitySetID string `json:"identitySetId"`
// The management group ID to authenticate scope Privileges to.
ManagementGroupID string `json:"managementGroupId"`
// Unique human-readable name of the Resource.
Name string `json:"name"`
// The privilege levels specify which Groups are managed externally
PrivilegeLevels string `json:"privilegeLevels"`
// ID of the proxy cluster for this resource, if any.
ProxyClusterID string `json:"proxyClusterId"`
// filters discovered groups to the specified Resource Group
ResourceGroupID string `json:"resourceGroupId"`
// ID of the secret store containing credentials for this resource, if any.
SecretStoreID string `json:"secretStoreId"`
// DNS subdomain through which this resource may be accessed on clients. (e.g. "app-prod1" allows the resource to be accessed at "app-prod1.your-org-name.sdm-proxy-domain"). Only applicable to HTTP-based resources or resources using virtual networking mode.
Subdomain string `json:"subdomain"`
// The subscription ID to authenticate scope Privileges to.
SubscriptionID string `json:"subscriptionId"`
// Tags is a map of key, value pairs.
Tags Tags `json:"tags"`
// The connector ID to authenticate through.
TenantID string `json:"tenantId"`
}
func (*EntraID) GetBindInterface ¶
GetBindInterface returns the bind interface of the EntraID.
func (*EntraID) GetEgressFilter ¶
GetEgressFilter returns the egress filter of the EntraID.
func (*EntraID) GetSecretStoreID ¶
GetSecretStoreID returns the secret store id of the EntraID.
func (*EntraID) SetBindInterface ¶
SetBindInterface sets the bind interface of the EntraID.
func (*EntraID) SetEgressFilter ¶
SetEgressFilter sets the egress filter of the EntraID.
func (*EntraID) SetSecretStoreID ¶
SetSecretStoreID sets the secret store id of the EntraID.
type Error ¶
Error is a generic RPC error indicating something went wrong at the transport layer. Use Code() and Unwrap() to inspect the actual failed condition.
type GCP ¶
type GCP struct {
// The bind interface is the IP address to which the port override of a resource is bound (for example, 127.0.0.1). It is automatically generated if not provided and may also be set to one of the ResourceIPAllocationMode constants to select between VNM, loopback, or default allocation.
BindInterface string `json:"bindInterface"`
// A filter applied to the routing logic to pin datasource to nodes.
EgressFilter string `json:"egressFilter"`
// True if the datasource is reachable and the credentials are valid.
Healthy bool `json:"healthy"`
// Unique identifier of the Resource.
ID string `json:"id"`
// The service account keyfile to authenticate with.
Keyfile string `json:"keyfile"`
// Unique human-readable name of the Resource.
Name string `json:"name"`
// The local port used by clients to connect to this resource. It is automatically generated if not provided on create and may be re-generated on update by specifying a value of -1.
PortOverride int32 `json:"portOverride"`
// ID of the proxy cluster for this resource, if any.
ProxyClusterID string `json:"proxyClusterId"`
// Space separated scopes that this login should assume into when authenticating.
Scopes string `json:"scopes"`
// ID of the secret store containing credentials for this resource, if any.
SecretStoreID string `json:"secretStoreId"`
// DNS subdomain through which this resource may be accessed on clients. (e.g. "app-prod1" allows the resource to be accessed at "app-prod1.your-org-name.sdm-proxy-domain"). Only applicable to HTTP-based resources or resources using virtual networking mode.
Subdomain string `json:"subdomain"`
// Tags is a map of key, value pairs.
Tags Tags `json:"tags"`
}
func (*GCP) GetBindInterface ¶
GetBindInterface returns the bind interface of the GCP.
func (*GCP) GetEgressFilter ¶
GetEgressFilter returns the egress filter of the GCP.
func (*GCP) GetSecretStoreID ¶
GetSecretStoreID returns the secret store id of the GCP.
func (*GCP) SetBindInterface ¶
SetBindInterface sets the bind interface of the GCP.
func (*GCP) SetEgressFilter ¶
SetEgressFilter sets the egress filter of the GCP.
func (*GCP) SetSecretStoreID ¶
SetSecretStoreID sets the secret store id of the GCP.
type GCPCertX509Store ¶
type GCPCertX509Store struct {
// The ID of the target CA
CaID string `json:"caId"`
// The ID of the target CA pool
CaPoolID string `json:"caPoolId"`
// Unique identifier of the SecretStore.
ID string `json:"id"`
// The lifetime of certificates issued by this CA represented in minutes.
IssuedCertTTLMinutes int32 `json:"issuedCertTtlMinutes"`
// The Region for the CA in GCP format e.g. us-west1
Location string `json:"location"`
// Unique human-readable name of the SecretStore.
Name string `json:"name"`
// The GCP project ID to target.
ProjectID string `json:"projectId"`
// Tags is a map of key, value pairs.
Tags Tags `json:"tags"`
}
func (*GCPCertX509Store) GetID ¶
func (m *GCPCertX509Store) GetID() string
GetID returns the unique identifier of the GCPCertX509Store.
func (*GCPCertX509Store) GetName ¶
func (m *GCPCertX509Store) GetName() string
GetName returns the name of the GCPCertX509Store.
func (*GCPCertX509Store) GetTags ¶
func (m *GCPCertX509Store) GetTags() Tags
GetTags returns the tags of the GCPCertX509Store.
func (*GCPCertX509Store) SetName ¶
func (m *GCPCertX509Store) SetName(v string)
SetName sets the name of the GCPCertX509Store.
func (*GCPCertX509Store) SetTags ¶
func (m *GCPCertX509Store) SetTags(v Tags)
SetTags sets the tags of the GCPCertX509Store.
type GCPConnector ¶
type GCPConnector struct {
// Description of the Connector.
Description string `json:"description"`
// ExcludeTags filters out discovered resources that have the tag and value.
// We do allow duplicate tag names for ExcludeTags to support multiple excluded values for the tag.
ExcludeTags []*Tag `json:"excludeTags"`
// Unique identifier of the Connector.
ID string `json:"id"`
// IncludeTags only discovers cloud resources that have one of the included tags.
// We do not allow duplicate tag names for IncludeTags
IncludeTags []*Tag `json:"includeTags"`
// Unique human-readable name of the Connector.
Name string `json:"name"`
// ProjectIds is the list of GCP Projects the connector will scan
ProjectIDs []string `json:"projectIds"`
// ScanPeriod identifies which remote system this Connector discovers
ScanPeriod string `json:"scanPeriod"`
// Services is a list of services this connector should scan.
Services []string `json:"services"`
// WorkloadPoolId is the GCP Workload Pool Identifier used to authenticate our JWT
WorkloadPoolID string `json:"workloadPoolId"`
// WorkloadProjectId is the GCP Project ID where the Workload Pool is defined
WorkloadProjectID string `json:"workloadProjectId"`
// WorkloadProjectNumber is the GCP Project Number where the Workload Pool is defined
WorkloadProjectNumber string `json:"workloadProjectNumber"`
// WorkloadProviderId is the GCP Workload Provider Identifier used to authenticate our JWT
WorkloadProviderID string `json:"workloadProviderId"`
}
func (*GCPConnector) GetDescription ¶
func (m *GCPConnector) GetDescription() string
GetDescription returns the description of the GCPConnector.
func (*GCPConnector) GetExcludeTags ¶
func (m *GCPConnector) GetExcludeTags() []*Tag
GetExcludeTags returns the exclude tags of the GCPConnector.
func (*GCPConnector) GetID ¶
func (m *GCPConnector) GetID() string
GetID returns the unique identifier of the GCPConnector.
func (*GCPConnector) GetIncludeTags ¶
func (m *GCPConnector) GetIncludeTags() []*Tag
GetIncludeTags returns the include tags of the GCPConnector.
func (*GCPConnector) GetName ¶
func (m *GCPConnector) GetName() string
GetName returns the name of the GCPConnector.
func (*GCPConnector) GetScanPeriod ¶
func (m *GCPConnector) GetScanPeriod() string
GetScanPeriod returns the scan period of the GCPConnector.
func (*GCPConnector) GetServices ¶
func (m *GCPConnector) GetServices() []string
GetServices returns the services of the GCPConnector.
func (*GCPConnector) SetDescription ¶
func (m *GCPConnector) SetDescription(v string)
SetDescription sets the description of the GCPConnector.
func (*GCPConnector) SetExcludeTags ¶
func (m *GCPConnector) SetExcludeTags(v []*Tag)
SetExcludeTags sets the exclude tags of the GCPConnector.
func (*GCPConnector) SetIncludeTags ¶
func (m *GCPConnector) SetIncludeTags(v []*Tag)
SetIncludeTags sets the include tags of the GCPConnector.
func (*GCPConnector) SetName ¶
func (m *GCPConnector) SetName(v string)
SetName sets the name of the GCPConnector.
func (*GCPConnector) SetScanPeriod ¶
func (m *GCPConnector) SetScanPeriod(v string)
SetScanPeriod sets the scan period of the GCPConnector.
func (*GCPConnector) SetServices ¶
func (m *GCPConnector) SetServices(v []string)
SetServices sets the services of the GCPConnector.
type GCPConsole ¶
type GCPConsole struct {
// The bind interface is the IP address to which the port override of a resource is bound (for example, 127.0.0.1). It is automatically generated if not provided and may also be set to one of the ResourceIPAllocationMode constants to select between VNM, loopback, or default allocation.
BindInterface string `json:"bindInterface"`
// A filter applied to the routing logic to pin datasource to nodes.
EgressFilter string `json:"egressFilter"`
// True if the datasource is reachable and the credentials are valid.
Healthy bool `json:"healthy"`
// Unique identifier of the Resource.
ID string `json:"id"`
// The username to use for healthchecks, when clients otherwise connect with their own identity alias username.
IdentityAliasHealthcheckUsername string `json:"identityAliasHealthcheckUsername"`
// The ID of the identity set to use for identity connections.
IdentitySetID string `json:"identitySetId"`
// Unique human-readable name of the Resource.
Name string `json:"name"`
// The local port used by clients to connect to this resource. It is automatically generated if not provided on create and may be re-generated on update by specifying a value of -1.
PortOverride int32 `json:"portOverride"`
// ID of the proxy cluster for this resource, if any.
ProxyClusterID string `json:"proxyClusterId"`
// ID of the secret store containing credentials for this resource, if any.
SecretStoreID string `json:"secretStoreId"`
// The length of time in seconds console sessions will live before needing to reauthenticate.
SessionExpiry int32 `json:"sessionExpiry"`
// Subdomain is the local DNS address. (e.g. app-prod1 turns into app-prod1.your-org-name.sdm.network)
Subdomain string `json:"subdomain"`
// Tags is a map of key, value pairs.
Tags Tags `json:"tags"`
// The ID of the Workforce Identity Pool in GCP to use for federated authentication.
WorkforcePoolID string `json:"workforcePoolId"`
// The ID of the Workforce Identity Provider in GCP to use for federated authentication.
WorkforceProviderID string `json:"workforceProviderId"`
}
func (*GCPConsole) GetBindInterface ¶
func (m *GCPConsole) GetBindInterface() string
GetBindInterface returns the bind interface of the GCPConsole.
func (*GCPConsole) GetEgressFilter ¶
func (m *GCPConsole) GetEgressFilter() string
GetEgressFilter returns the egress filter of the GCPConsole.
func (*GCPConsole) GetID ¶
func (m *GCPConsole) GetID() string
GetID returns the unique identifier of the GCPConsole.
func (*GCPConsole) GetName ¶
func (m *GCPConsole) GetName() string
GetName returns the name of the GCPConsole.
func (*GCPConsole) GetSecretStoreID ¶
func (m *GCPConsole) GetSecretStoreID() string
GetSecretStoreID returns the secret store id of the GCPConsole.
func (*GCPConsole) GetTags ¶
func (m *GCPConsole) GetTags() Tags
GetTags returns the tags of the GCPConsole.
func (*GCPConsole) SetBindInterface ¶
func (m *GCPConsole) SetBindInterface(v string)
SetBindInterface sets the bind interface of the GCPConsole.
func (*GCPConsole) SetEgressFilter ¶
func (m *GCPConsole) SetEgressFilter(v string)
SetEgressFilter sets the egress filter of the GCPConsole.
func (*GCPConsole) SetName ¶
func (m *GCPConsole) SetName(v string)
SetName sets the name of the GCPConsole.
func (*GCPConsole) SetSecretStoreID ¶
func (m *GCPConsole) SetSecretStoreID(v string)
SetSecretStoreID sets the secret store id of the GCPConsole.
func (*GCPConsole) SetTags ¶
func (m *GCPConsole) SetTags(v Tags)
SetTags sets the tags of the GCPConsole.
type GCPStore ¶
type GCPStore struct {
// Unique identifier of the SecretStore.
ID string `json:"id"`
// Unique human-readable name of the SecretStore.
Name string `json:"name"`
// The GCP project ID to target.
ProjectID string `json:"projectId"`
// Tags is a map of key, value pairs.
Tags Tags `json:"tags"`
}
type GCPWIF ¶
type GCPWIF struct {
// The bind interface is the IP address to which the port override of a resource is bound (for example, 127.0.0.1). It is automatically generated if not provided and may also be set to one of the ResourceIPAllocationMode constants to select between VNM, loopback, or default allocation.
BindInterface string `json:"bindInterface"`
// A filter applied to the routing logic to pin datasource to nodes.
EgressFilter string `json:"egressFilter"`
// True if the datasource is reachable and the credentials are valid.
Healthy bool `json:"healthy"`
// Unique identifier of the Resource.
ID string `json:"id"`
// The username to use for healthchecks, when clients otherwise connect with their own identity alias username.
IdentityAliasHealthcheckUsername string `json:"identityAliasHealthcheckUsername"`
// The ID of the identity set to use for identity connections.
IdentitySetID string `json:"identitySetId"`
// Unique human-readable name of the Resource.
Name string `json:"name"`
// The local port used by clients to connect to this resource. It is automatically generated if not provided on create and may be re-generated on update by specifying a value of -1.
PortOverride int32 `json:"portOverride"`
// When specified, all project scoped requests will use this Project ID, overriding the project ID specified by clients
ProjectID string `json:"projectId"`
// ID of the proxy cluster for this resource, if any.
ProxyClusterID string `json:"proxyClusterId"`
// Space separated scopes that this login should assume into when authenticating.
Scopes string `json:"scopes"`
// ID of the secret store containing credentials for this resource, if any.
SecretStoreID string `json:"secretStoreId"`
// The length of time in seconds console sessions will live before needing to reauthenticate.
SessionExpiry int32 `json:"sessionExpiry"`
// DNS subdomain through which this resource may be accessed on clients. (e.g. "app-prod1" allows the resource to be accessed at "app-prod1.your-org-name.sdm-proxy-domain"). Only applicable to HTTP-based resources or resources using virtual networking mode.
Subdomain string `json:"subdomain"`
// Tags is a map of key, value pairs.
Tags Tags `json:"tags"`
// The ID of the Workforce Identity Pool in GCP to use for federated authentication.
WorkforcePoolID string `json:"workforcePoolId"`
// The ID of the Workforce Identity Provider in GCP to use for federated authentication.
WorkforceProviderID string `json:"workforceProviderId"`
}
func (*GCPWIF) GetBindInterface ¶
GetBindInterface returns the bind interface of the GCPWIF.
func (*GCPWIF) GetEgressFilter ¶
GetEgressFilter returns the egress filter of the GCPWIF.
func (*GCPWIF) GetSecretStoreID ¶
GetSecretStoreID returns the secret store id of the GCPWIF.
func (*GCPWIF) SetBindInterface ¶
SetBindInterface sets the bind interface of the GCPWIF.
func (*GCPWIF) SetEgressFilter ¶
SetEgressFilter sets the egress filter of the GCPWIF.
func (*GCPWIF) SetSecretStoreID ¶
SetSecretStoreID sets the secret store id of the GCPWIF.
type Gateway ¶
type Gateway struct {
// The hostname/port tuple which the gateway daemon will bind to.
// If not provided on create, set to "0.0.0.0:listen_address_port".
BindAddress string `json:"bindAddress"`
// Device is a read only device name uploaded by the gateway process when
// it comes online.
Device string `json:"device"`
// GatewayFilter can be used to restrict the peering between relays and
// gateways. Deprecated.
GatewayFilter string `json:"gatewayFilter"`
// Unique identifier of the Gateway.
ID string `json:"id"`
// The public hostname/port tuple at which the gateway will be accessible to clients.
ListenAddress string `json:"listenAddress"`
// Location is a read only network location uploaded by the gateway process
// when it comes online.
Location string `json:"location"`
// Maintenance Windows define when this node is allowed to restart. If a node
// is requested to restart, it will check each window to determine if any of
// them permit it to restart, and if any do, it will. This check is repeated
// per window until the restart is successfully completed.
//
// If not set here, may be set on the command line or via an environment variable
// on the process itself; any server setting will take precedence over local
// settings. This setting is ineffective for nodes below version 38.44.0.
//
// If this setting is not applied via this remote configuration or via local
// configuration, the default setting is used: always allow restarts if serving
// no connections, and allow a restart even if serving connections between 7-8 UTC, any day.
MaintenanceWindows []*NodeMaintenanceWindow `json:"maintenanceWindows"`
// Unique human-readable name of the Gateway. Node names must include only letters, numbers, and hyphens (no spaces, underscores, or other special characters). Generated if not provided on create.
Name string `json:"name"`
// The current state of the gateway. One of: "new", "verifying_restart",
// "restarting", "started", "stopped", "dead", "unknown"
State string `json:"state"`
// Tags is a map of key, value pairs.
Tags Tags `json:"tags"`
// Version is a read only sdm binary version uploaded by the gateway process
// when it comes online.
Version string `json:"version"`
}
Gateway represents a StrongDM CLI installation running in gateway mode.
type GenerateKeysRequest ¶
type GenerateKeysRequest struct {
// required
SecretEngineID string `json:"secretEngineId"`
}
type GenerateKeysResponse ¶
type GenerateKeysResponse struct {
// Rate limit information.
RateLimit *RateLimitMetadata `json:"rateLimit"`
}
type GenericResponseMetadata ¶
type GenericResponseMetadata struct {
}
GenericResponseMetadata contains common headers for generic request responses.
type GetResponseMetadata ¶
type GetResponseMetadata struct {
}
GetResponseMetadata is reserved for future use.
type GoogleGKE ¶
type GoogleGKE struct {
// If true, allows users to fallback to the existing authentication mode (Leased Credential or Identity Set)
// when a resource role is not provided.
AllowResourceRoleBypass bool `json:"allowResourceRoleBypass"`
// The bind interface is the IP address to which the port override of a resource is bound (for example, 127.0.0.1). It is automatically generated if not provided and may also be set to one of the ResourceIPAllocationMode constants to select between VNM, loopback, or default allocation.
BindInterface string `json:"bindInterface"`
// The CA to authenticate TLS connections with.
CertificateAuthority string `json:"certificateAuthority"`
// If true, configures discovery of a cluster to be run from a node.
DiscoveryEnabled bool `json:"discoveryEnabled"`
// If a cluster is configured for user impersonation, this is the user to impersonate when
// running discovery.
DiscoveryUsername string `json:"discoveryUsername"`
// A filter applied to the routing logic to pin datasource to nodes.
EgressFilter string `json:"egressFilter"`
// The endpoint to dial.
Endpoint string `json:"endpoint"`
// The path used to check the health of your connection. Defaults to `default`.
HealthcheckNamespace string `json:"healthcheckNamespace"`
// True if the datasource is reachable and the credentials are valid.
Healthy bool `json:"healthy"`
// Unique identifier of the Resource.
ID string `json:"id"`
// The username to use for healthchecks, when clients otherwise connect with their own identity alias username.
IdentityAliasHealthcheckUsername string `json:"identityAliasHealthcheckUsername"`
// The ID of the identity set to use for identity connections.
IdentitySetID string `json:"identitySetId"`
// Unique human-readable name of the Resource.
Name string `json:"name"`
// The local port used by clients to connect to this resource. It is automatically generated if not provided on create and may be re-generated on update by specifying a value of -1.
PortOverride int32 `json:"portOverride"`
// ID of the proxy cluster for this resource, if any.
ProxyClusterID string `json:"proxyClusterId"`
// ID of the secret store containing credentials for this resource, if any.
SecretStoreID string `json:"secretStoreId"`
// The service account key to authenticate with.
ServiceAccountKey string `json:"serviceAccountKey"`
// DNS subdomain through which this resource may be accessed on clients. (e.g. "app-prod1" allows the resource to be accessed at "app-prod1.your-org-name.sdm-proxy-domain"). Only applicable to HTTP-based resources or resources using virtual networking mode.
Subdomain string `json:"subdomain"`
// Tags is a map of key, value pairs.
Tags Tags `json:"tags"`
}
func (*GoogleGKE) GetBindInterface ¶
GetBindInterface returns the bind interface of the GoogleGKE.
func (*GoogleGKE) GetEgressFilter ¶
GetEgressFilter returns the egress filter of the GoogleGKE.
func (*GoogleGKE) GetSecretStoreID ¶
GetSecretStoreID returns the secret store id of the GoogleGKE.
func (*GoogleGKE) SetBindInterface ¶
SetBindInterface sets the bind interface of the GoogleGKE.
func (*GoogleGKE) SetEgressFilter ¶
SetEgressFilter sets the egress filter of the GoogleGKE.
func (*GoogleGKE) SetSecretStoreID ¶
SetSecretStoreID sets the secret store id of the GoogleGKE.
type GoogleGKEUserImpersonation
deprecated
type GoogleGKEUserImpersonation struct {
// The bind interface is the IP address to which the port override of a resource is bound (for example, 127.0.0.1). It is automatically generated if not provided and may also be set to one of the ResourceIPAllocationMode constants to select between VNM, loopback, or default allocation.
BindInterface string `json:"bindInterface"`
// The CA to authenticate TLS connections with.
CertificateAuthority string `json:"certificateAuthority"`
// A filter applied to the routing logic to pin datasource to nodes.
EgressFilter string `json:"egressFilter"`
// The endpoint to dial.
Endpoint string `json:"endpoint"`
// The path used to check the health of your connection. Defaults to `default`.
HealthcheckNamespace string `json:"healthcheckNamespace"`
// True if the datasource is reachable and the credentials are valid.
Healthy bool `json:"healthy"`
// Unique identifier of the Resource.
ID string `json:"id"`
// Unique human-readable name of the Resource.
Name string `json:"name"`
// The local port used by clients to connect to this resource. It is automatically generated if not provided on create and may be re-generated on update by specifying a value of -1.
PortOverride int32 `json:"portOverride"`
// ID of the proxy cluster for this resource, if any.
ProxyClusterID string `json:"proxyClusterId"`
// ID of the secret store containing credentials for this resource, if any.
SecretStoreID string `json:"secretStoreId"`
// The service account key to authenticate with.
ServiceAccountKey string `json:"serviceAccountKey"`
// DNS subdomain through which this resource may be accessed on clients. (e.g. "app-prod1" allows the resource to be accessed at "app-prod1.your-org-name.sdm-proxy-domain"). Only applicable to HTTP-based resources or resources using virtual networking mode.
Subdomain string `json:"subdomain"`
// Tags is a map of key, value pairs.
Tags Tags `json:"tags"`
}
Deprecated: see docs for more info.
func (*GoogleGKEUserImpersonation) GetBindInterface ¶
func (m *GoogleGKEUserImpersonation) GetBindInterface() string
GetBindInterface returns the bind interface of the GoogleGKEUserImpersonation.
func (*GoogleGKEUserImpersonation) GetEgressFilter ¶
func (m *GoogleGKEUserImpersonation) GetEgressFilter() string
GetEgressFilter returns the egress filter of the GoogleGKEUserImpersonation.
func (*GoogleGKEUserImpersonation) GetID ¶
func (m *GoogleGKEUserImpersonation) GetID() string
GetID returns the unique identifier of the GoogleGKEUserImpersonation.
func (*GoogleGKEUserImpersonation) GetName ¶
func (m *GoogleGKEUserImpersonation) GetName() string
GetName returns the name of the GoogleGKEUserImpersonation.
func (*GoogleGKEUserImpersonation) GetSecretStoreID ¶
func (m *GoogleGKEUserImpersonation) GetSecretStoreID() string
GetSecretStoreID returns the secret store id of the GoogleGKEUserImpersonation.
func (*GoogleGKEUserImpersonation) GetTags ¶
func (m *GoogleGKEUserImpersonation) GetTags() Tags
GetTags returns the tags of the GoogleGKEUserImpersonation.
func (*GoogleGKEUserImpersonation) SetBindInterface ¶
func (m *GoogleGKEUserImpersonation) SetBindInterface(v string)
SetBindInterface sets the bind interface of the GoogleGKEUserImpersonation.
func (*GoogleGKEUserImpersonation) SetEgressFilter ¶
func (m *GoogleGKEUserImpersonation) SetEgressFilter(v string)
SetEgressFilter sets the egress filter of the GoogleGKEUserImpersonation.
func (*GoogleGKEUserImpersonation) SetName ¶
func (m *GoogleGKEUserImpersonation) SetName(v string)
SetName sets the name of the GoogleGKEUserImpersonation.
func (*GoogleGKEUserImpersonation) SetSecretStoreID ¶
func (m *GoogleGKEUserImpersonation) SetSecretStoreID(v string)
SetSecretStoreID sets the secret store id of the GoogleGKEUserImpersonation.
func (*GoogleGKEUserImpersonation) SetTags ¶
func (m *GoogleGKEUserImpersonation) SetTags(v Tags)
SetTags sets the tags of the GoogleGKEUserImpersonation.
type GoogleSpanner ¶
type GoogleSpanner struct {
// The bind interface is the IP address to which the port override of a resource is bound (for example, 127.0.0.1). It is automatically generated if not provided and may also be set to one of the ResourceIPAllocationMode constants to select between VNM, loopback, or default allocation.
BindInterface string `json:"bindInterface"`
// The initial database to connect to. This setting does not by itself prevent switching to another database after connecting.
Database string `json:"database"`
// A filter applied to the routing logic to pin datasource to nodes.
EgressFilter string `json:"egressFilter"`
// The endpoint to dial e.g. spanner.googleapis.com
Endpoint string `json:"endpoint"`
// True if the datasource is reachable and the credentials are valid.
Healthy bool `json:"healthy"`
// Unique identifier of the Resource.
ID string `json:"id"`
// The Spanner instance ID within the GCP project.
Instance string `json:"instance"`
// Unique human-readable name of the Resource.
Name string `json:"name"`
// The port to dial to initiate a connection from the egress node to this resource.
Port int32 `json:"port"`
// The local port used by clients to connect to this resource. It is automatically generated if not provided on create and may be re-generated on update by specifying a value of -1.
PortOverride int32 `json:"portOverride"`
// The GCP project ID containing the Spanner database.
Project string `json:"project"`
// ID of the proxy cluster for this resource, if any.
ProxyClusterID string `json:"proxyClusterId"`
// ID of the secret store containing credentials for this resource, if any.
SecretStoreID string `json:"secretStoreId"`
// Optional service account email to impersonate. When set, the relay's
// Application Default Credentials will impersonate this service account
// to access Spanner. This allows role separation where the relay uses
// one service account but operates as another.
ServiceAccountToImpersonate string `json:"serviceAccountToImpersonate"`
// DNS subdomain through which this resource may be accessed on clients. (e.g. "app-prod1" allows the resource to be accessed at "app-prod1.your-org-name.sdm-proxy-domain"). Only applicable to HTTP-based resources or resources using virtual networking mode.
Subdomain string `json:"subdomain"`
// Tags is a map of key, value pairs.
Tags Tags `json:"tags"`
}
func (*GoogleSpanner) GetBindInterface ¶
func (m *GoogleSpanner) GetBindInterface() string
GetBindInterface returns the bind interface of the GoogleSpanner.
func (*GoogleSpanner) GetEgressFilter ¶
func (m *GoogleSpanner) GetEgressFilter() string
GetEgressFilter returns the egress filter of the GoogleSpanner.
func (*GoogleSpanner) GetID ¶
func (m *GoogleSpanner) GetID() string
GetID returns the unique identifier of the GoogleSpanner.
func (*GoogleSpanner) GetName ¶
func (m *GoogleSpanner) GetName() string
GetName returns the name of the GoogleSpanner.
func (*GoogleSpanner) GetSecretStoreID ¶
func (m *GoogleSpanner) GetSecretStoreID() string
GetSecretStoreID returns the secret store id of the GoogleSpanner.
func (*GoogleSpanner) GetTags ¶
func (m *GoogleSpanner) GetTags() Tags
GetTags returns the tags of the GoogleSpanner.
func (*GoogleSpanner) SetBindInterface ¶
func (m *GoogleSpanner) SetBindInterface(v string)
SetBindInterface sets the bind interface of the GoogleSpanner.
func (*GoogleSpanner) SetEgressFilter ¶
func (m *GoogleSpanner) SetEgressFilter(v string)
SetEgressFilter sets the egress filter of the GoogleSpanner.
func (*GoogleSpanner) SetName ¶
func (m *GoogleSpanner) SetName(v string)
SetName sets the name of the GoogleSpanner.
func (*GoogleSpanner) SetSecretStoreID ¶
func (m *GoogleSpanner) SetSecretStoreID(v string)
SetSecretStoreID sets the secret store id of the GoogleSpanner.
func (*GoogleSpanner) SetTags ¶
func (m *GoogleSpanner) SetTags(v Tags)
SetTags sets the tags of the GoogleSpanner.
type GrantedAccountEntitlement ¶ added in v16.13.0
type GrantedAccountEntitlement struct {
// The unique identifier of the group associated with this entitlement, if any.
GroupID string `json:"groupId"`
// The most recent time at which the account accessed this resource. Empty if the resource has never been accessed.
LastAccessed time.Time `json:"lastAccessed"`
// The mapped identity privileges for this entitlement, such as Kubernetes group memberships.
MappedIdentities *MappedIdentities `json:"mappedIdentities"`
// The unique identifier of the origin of this entitlement (e.g., a Role or AccountGrant ID).
OriginID string `json:"originId"`
// The unique identifier of the Resource to which access is granted.
ResourceID string `json:"resourceId"`
}
GrantedAccountEntitlement represents an individual entitlement of an Account to a Resource that has been granted.
type GrantedAccountEntitlementIterator ¶ added in v16.13.0
type GrantedAccountEntitlementIterator interface {
// Next advances the iterator to the next item in the list. It returns
// true if an item is available to retrieve via the `Value()` function.
Next() bool
// Value returns the current item, if one is available.
Value() *GrantedAccountEntitlement
// Err returns the first error encountered during iteration, if any.
Err() error
}
GrantedAccountEntitlementIterator provides read access to a list of GrantedAccountEntitlement. Use it like so:
for iterator.Next() {
grantedAccountEntitlement := iterator.Value()
// ...
}
type GrantedAccountEntitlements ¶ added in v16.13.0
type GrantedAccountEntitlements struct {
// contains filtered or unexported fields
}
GrantedAccountEntitlements enumerates the resources to which an account has been granted access. The GrantedAccountEntitlements service is read-only.
func (*GrantedAccountEntitlements) List ¶ added in v16.13.0
func (svc *GrantedAccountEntitlements) List( ctx context.Context, accountId string, filter string, args ...interface{}) ( GrantedAccountEntitlementIterator, error)
List gets a list of GrantedAccountEntitlement records matching a given set of criteria.
type GrantedEntitlementKubernetesPrivileges ¶ added in v16.13.0
type GrantedEntitlementKubernetesPrivileges struct {
// The Kubernetes groups granted to this principal for this resource.
Groups []string `json:"groups"`
}
GrantedEntitlementKubernetesPrivileges holds Kubernetes group memberships for a granted entitlement.
type GrantedResourceEntitlement ¶ added in v16.13.0
type GrantedResourceEntitlement struct {
// The unique identifier of the Account that has access to this resource.
AccountID string `json:"accountId"`
// The unique identifier of the group associated with this entitlement, if any.
GroupID string `json:"groupId"`
// The most recent time at which the account accessed this resource. Empty if the resource has never been accessed.
LastAccessed time.Time `json:"lastAccessed"`
// The mapped identity privileges for this entitlement, such as Kubernetes group memberships.
MappedIdentities *MappedIdentities `json:"mappedIdentities"`
// The unique identifier of the origin of this entitlement (e.g., a Role or AccountGrant ID).
OriginID string `json:"originId"`
}
GrantedResourceEntitlement represents an individual entitlement of an Account to a Resource, viewed from the resource's perspective.
type GrantedResourceEntitlementIterator ¶ added in v16.13.0
type GrantedResourceEntitlementIterator interface {
// Next advances the iterator to the next item in the list. It returns
// true if an item is available to retrieve via the `Value()` function.
Next() bool
// Value returns the current item, if one is available.
Value() *GrantedResourceEntitlement
// Err returns the first error encountered during iteration, if any.
Err() error
}
GrantedResourceEntitlementIterator provides read access to a list of GrantedResourceEntitlement. Use it like so:
for iterator.Next() {
grantedResourceEntitlement := iterator.Value()
// ...
}
type GrantedResourceEntitlements ¶ added in v16.13.0
type GrantedResourceEntitlements struct {
// contains filtered or unexported fields
}
GrantedResourceEntitlements enumerates the accounts that have been granted access to a given resource. The GrantedResourceEntitlements service is read-only.
func (*GrantedResourceEntitlements) List ¶ added in v16.13.0
func (svc *GrantedResourceEntitlements) List( ctx context.Context, resourceId string, filter string, args ...interface{}) ( GrantedResourceEntitlementIterator, error)
List gets a list of GrantedResourceEntitlement records matching a given set of criteria.
type GrantedRoleEntitlement ¶ added in v16.13.0
type GrantedRoleEntitlement struct {
// The unique identifier of the group associated with this entitlement, if any.
GroupID string `json:"groupId"`
// The most recent time at which any account in the organization accessed this resource.
// Empty if the resource has never been accessed.
LastAccessed time.Time `json:"lastAccessed"`
// The mapped identity privileges for this entitlement, such as Kubernetes group memberships.
MappedIdentities *MappedIdentities `json:"mappedIdentities"`
// The unique identifier of the Resource to which the role grants access.
ResourceID string `json:"resourceId"`
}
GrantedRoleEntitlement represents an individual resource entitlement granted through a Role.
type GrantedRoleEntitlementIterator ¶ added in v16.13.0
type GrantedRoleEntitlementIterator interface {
// Next advances the iterator to the next item in the list. It returns
// true if an item is available to retrieve via the `Value()` function.
Next() bool
// Value returns the current item, if one is available.
Value() *GrantedRoleEntitlement
// Err returns the first error encountered during iteration, if any.
Err() error
}
GrantedRoleEntitlementIterator provides read access to a list of GrantedRoleEntitlement. Use it like so:
for iterator.Next() {
grantedRoleEntitlement := iterator.Value()
// ...
}
type GrantedRoleEntitlements ¶ added in v16.13.0
type GrantedRoleEntitlements struct {
// contains filtered or unexported fields
}
GrantedRoleEntitlements enumerates the resources to which a role grants access. The GrantedRoleEntitlements service is read-only.
func (*GrantedRoleEntitlements) List ¶ added in v16.13.0
func (svc *GrantedRoleEntitlements) List( ctx context.Context, roleId string, filter string, args ...interface{}) ( GrantedRoleEntitlementIterator, error)
List gets a list of GrantedRoleEntitlement records matching a given set of criteria.
type Greenplum ¶
type Greenplum struct {
// The bind interface is the IP address to which the port override of a resource is bound (for example, 127.0.0.1). It is automatically generated if not provided and may also be set to one of the ResourceIPAllocationMode constants to select between VNM, loopback, or default allocation.
BindInterface string `json:"bindInterface"`
// The initial database to connect to. This setting does not by itself prevent switching to another database after connecting.
Database string `json:"database"`
// A filter applied to the routing logic to pin datasource to nodes.
EgressFilter string `json:"egressFilter"`
// True if the datasource is reachable and the credentials are valid.
Healthy bool `json:"healthy"`
// The host to dial to initiate a connection from the egress node to this resource.
Hostname string `json:"hostname"`
// Unique identifier of the Resource.
ID string `json:"id"`
// Unique human-readable name of the Resource.
Name string `json:"name"`
// If set, the database configured cannot be changed by users. This setting is not recommended for most use cases, as some clients will insist their database has changed when it has not, leading to user confusion.
OverrideDatabase bool `json:"overrideDatabase"`
// The password to authenticate with.
Password string `json:"password"`
// The port to dial to initiate a connection from the egress node to this resource.
Port int32 `json:"port"`
// The local port used by clients to connect to this resource. It is automatically generated if not provided on create and may be re-generated on update by specifying a value of -1.
PortOverride int32 `json:"portOverride"`
// ID of the proxy cluster for this resource, if any.
ProxyClusterID string `json:"proxyClusterId"`
// ID of the secret store containing credentials for this resource, if any.
SecretStoreID string `json:"secretStoreId"`
// DNS subdomain through which this resource may be accessed on clients. (e.g. "app-prod1" allows the resource to be accessed at "app-prod1.your-org-name.sdm-proxy-domain"). Only applicable to HTTP-based resources or resources using virtual networking mode.
Subdomain string `json:"subdomain"`
// Tags is a map of key, value pairs.
Tags Tags `json:"tags"`
// The username to authenticate with.
Username string `json:"username"`
}
func (*Greenplum) GetBindInterface ¶
GetBindInterface returns the bind interface of the Greenplum.
func (*Greenplum) GetEgressFilter ¶
GetEgressFilter returns the egress filter of the Greenplum.
func (*Greenplum) GetSecretStoreID ¶
GetSecretStoreID returns the secret store id of the Greenplum.
func (*Greenplum) SetBindInterface ¶
SetBindInterface sets the bind interface of the Greenplum.
func (*Greenplum) SetEgressFilter ¶
SetEgressFilter sets the egress filter of the Greenplum.
func (*Greenplum) SetSecretStoreID ¶
SetSecretStoreID sets the secret store id of the Greenplum.
type Group ¶
type Group struct {
// Description of the Group.
Description string `json:"description"`
// Unique identifier of the Group.
ID string `json:"id"`
// Unique human-readable name of the Group.
Name string `json:"name"`
// Source is a read only field for what service manages this group, e.g. StrongDM, Okta, Azure.
Source string `json:"source"`
// Tags is a map of key/value pairs that can be attached to a Group.
Tags Tags `json:"tags"`
}
A Group is a named set of principals.
type GroupCreateFromRolesResponse ¶
type GroupCreateFromRolesResponse struct {
// The created Group.
GroupFromRole []*GroupFromRole `json:"groupFromRole"`
// Rate limit information.
RateLimit *RateLimitMetadata `json:"rateLimit"`
}
type GroupCreateRequest ¶
type GroupCreateRequest struct {
// Parameters to define the new Group.
Group *Group `json:"group"`
}
GroupCreateRequest specifies a group to create.
type GroupCreateResponse ¶
type GroupCreateResponse struct {
// The created Group.
Group *Group `json:"group"`
// Rate limit information.
RateLimit *RateLimitMetadata `json:"rateLimit"`
}
GroupCreateResponse reports the result of a create.
type GroupDeleteRequest ¶
type GroupDeleteRequest struct {
// The unique identifier of the group to delete.
ID string `json:"id"`
}
groupDeleteRequest identifies a group by ID to delete.
type GroupDeleteResponse ¶
type GroupDeleteResponse struct {
// Reserved for future use.
Meta *DeleteResponseMetadata `json:"meta"`
// Rate limit information.
RateLimit *RateLimitMetadata `json:"rateLimit"`
}
groupDeleteResponse returns information about a group that was deleted.
type GroupFromRole ¶
type GroupFromRole struct {
// The migrated Accounts.
Accounts []*User `json:"accounts"`
// The affected approval flows.
ApprovalFlows []*ApprovalWorkflow `json:"approvalFlows"`
// The group created from the source role.
Group *Group `json:"group"`
// Rate limit information.
RateLimit *RateLimitMetadata `json:"rateLimit"`
// The source role.
Role *Role `json:"role"`
}
type GroupGetRequest ¶
type GroupGetRequest struct {
// The unique identifier of the Group to retrieve.
ID string `json:"id"`
}
GroupGetRequest specifies which Group to retrieve.
type GroupGetResponse ¶
type GroupGetResponse struct {
// The requested Group.
Group *Group `json:"group"`
// Reserved for future use.
Meta *GetResponseMetadata `json:"meta"`
// Rate limit information.
RateLimit *RateLimitMetadata `json:"rateLimit"`
}
GroupGetResponse returns a requested Group.
type GroupHistory ¶
type GroupHistory struct {
// The unique identifier of the Activity that produced this change to the Group.
// May be empty for some system-initiated updates.
ActivityID string `json:"activityId"`
// If this Group was deleted, the time it was deleted.
DeletedAt time.Time `json:"deletedAt"`
// The complete Group state at this time.
Group *Group `json:"group"`
// The time at which the Group state was recorded.
Timestamp time.Time `json:"timestamp"`
}
GroupHistory records the state of a Group at a given point in time, where every change (create, update and delete) to a Group produces a GroupHistory record.
type GroupHistoryIterator ¶
type GroupHistoryIterator interface {
// Next advances the iterator to the next item in the list. It returns
// true if an item is available to retrieve via the `Value()` function.
Next() bool
// Value returns the current item, if one is available.
Value() *GroupHistory
// Err returns the first error encountered during iteration, if any.
Err() error
}
GroupHistoryIterator provides read access to a list of GroupHistory. Use it like so:
for iterator.Next() {
groupHistory := iterator.Value()
// ...
}
type GroupIterator ¶
type GroupIterator interface {
// Next advances the iterator to the next item in the list. It returns
// true if an item is available to retrieve via the `Value()` function.
Next() bool
// Value returns the current item, if one is available.
Value() *Group
// Err returns the first error encountered during iteration, if any.
Err() error
}
GroupIterator provides read access to a list of Group. Use it like so:
for iterator.Next() {
group := iterator.Value()
// ...
}
type GroupListRequest ¶
type GroupListRequest struct {
// A human-readable filter query string.
Filter string `json:"filter"`
}
groupListRequest specifies criteria for retrieving a list of groups.
type GroupListResponse ¶
type GroupListResponse struct {
// Rate limit information.
RateLimit *RateLimitMetadata `json:"rateLimit"`
}
groupListResponse returns a list of groups that meet the criteria of a groupListRequest.
type GroupRole ¶
type GroupRole struct {
// The assigned Group ID.
GroupID string `json:"groupId"`
// Unique identifier of the GroupRole.
ID string `json:"id"`
// The assigned Role ID.
RoleID string `json:"roleId"`
}
A GroupRole assigns a Group to a Role.
type GroupRoleCreateRequest ¶
type GroupRoleCreateRequest struct {
// Parameters to define the new GroupRole.
GroupRole *GroupRole `json:"groupRole"`
}
GroupRoleCreateRequest specifies a group role to create.
type GroupRoleCreateResponse ¶
type GroupRoleCreateResponse struct {
// The created GroupRole.
GroupRole *GroupRole `json:"groupRole"`
// Rate limit information.
RateLimit *RateLimitMetadata `json:"rateLimit"`
}
GroupRoleCreateResponse reports the result of a create.
type GroupRoleDeleteRequest ¶
type GroupRoleDeleteRequest struct {
// The unique identifier of the group to delete.
ID string `json:"id"`
}
GroupRoleDeleteRequest identifies a group role by ID to delete.
type GroupRoleDeleteResponse ¶
type GroupRoleDeleteResponse struct {
// The deleted GroupRole.
GroupRole *GroupRole `json:"groupRole"`
// Reserved for future use.
Meta *DeleteResponseMetadata `json:"meta"`
// Rate limit information.
RateLimit *RateLimitMetadata `json:"rateLimit"`
}
GroupRoleDeleteResponse returns information about a group that was deleted.
type GroupRoleGetRequest ¶
type GroupRoleGetRequest struct {
// The unique identifier of the GroupRole to retrieve.
ID string `json:"id"`
}
GroupRoleGetRequest specifies which GroupRole to retrieve.
type GroupRoleGetResponse ¶
type GroupRoleGetResponse struct {
// The requested GroupRole.
GroupRole *GroupRole `json:"groupRole"`
// Reserved for future use.
Meta *GetResponseMetadata `json:"meta"`
// Rate limit information.
RateLimit *RateLimitMetadata `json:"rateLimit"`
}
GroupRoleGetResponse returns a requested GroupRole.
type GroupRoleHistory ¶
type GroupRoleHistory struct {
// The unique identifier of the Activity that produced this change to the GroupRole.
// May be empty for some system-initiated updates.
ActivityID string `json:"activityId"`
// If this GroupRole was deleted, the time it was deleted.
DeletedAt time.Time `json:"deletedAt"`
// The complete GroupRole state at this time.
GroupRole *GroupRole `json:"groupRole"`
// The time at which the GroupRole state was recorded.
Timestamp time.Time `json:"timestamp"`
}
GroupRoleHistory records the state of a GroupRole at a given point in time, where every change (create, update and delete) to a GroupRole produces a GroupRoleHistory record.
type GroupRoleHistoryIterator ¶
type GroupRoleHistoryIterator interface {
// Next advances the iterator to the next item in the list. It returns
// true if an item is available to retrieve via the `Value()` function.
Next() bool
// Value returns the current item, if one is available.
Value() *GroupRoleHistory
// Err returns the first error encountered during iteration, if any.
Err() error
}
GroupRoleHistoryIterator provides read access to a list of GroupRoleHistory. Use it like so:
for iterator.Next() {
groupRoleHistory := iterator.Value()
// ...
}
type GroupRoleIterator ¶
type GroupRoleIterator interface {
// Next advances the iterator to the next item in the list. It returns
// true if an item is available to retrieve via the `Value()` function.
Next() bool
// Value returns the current item, if one is available.
Value() *GroupRole
// Err returns the first error encountered during iteration, if any.
Err() error
}
GroupRoleIterator provides read access to a list of GroupRole. Use it like so:
for iterator.Next() {
groupRole := iterator.Value()
// ...
}
type GroupRoleListRequest ¶
type GroupRoleListRequest struct {
// A human-readable filter query string.
Filter string `json:"filter"`
}
GroupRoleListRequest specifies criteria for retrieving a list of groups.
type GroupRoleListResponse ¶
type GroupRoleListResponse struct {
// Rate limit information.
RateLimit *RateLimitMetadata `json:"rateLimit"`
}
GroupRoleListResponse returns a list of group roles that meet the criteria of a GroupRoleListRequest.
type GroupUpdateRequest ¶
type GroupUpdateRequest struct {
// Parameters to overwrite the specified group.
Group *Group `json:"group"`
}
GroupUpdateRequest updates a group.
type GroupUpdateResponse ¶
type GroupUpdateResponse struct {
// The updated group.
Group *Group `json:"group"`
// Rate limit information.
RateLimit *RateLimitMetadata `json:"rateLimit"`
}
groupUpdateResponse returns the fields of a group after it has been updated by a groupUpdateRequest.
type Groups ¶
type Groups struct {
// contains filtered or unexported fields
}
A Group is a set of principals.
func (*Groups) CreateFromRoles ¶
type GroupsHistory ¶
type GroupsHistory struct {
// contains filtered or unexported fields
}
GroupsHistory records all changes to the state of a Group.
func (*GroupsHistory) List ¶
func (svc *GroupsHistory) List( ctx context.Context, filter string, args ...interface{}) ( GroupHistoryIterator, error)
List gets a list of GroupHistory records matching a given set of criteria.
type GroupsRoles ¶
type GroupsRoles struct {
// contains filtered or unexported fields
}
A GroupRole is an assignment of a Group to a Role.
func (*GroupsRoles) Create ¶
func (svc *GroupsRoles) Create( ctx context.Context, groupRole *GroupRole) ( *GroupRoleCreateResponse, error)
Create registers a new GroupRole.
func (*GroupsRoles) Delete ¶
func (svc *GroupsRoles) Delete( ctx context.Context, id string) ( *GroupRoleDeleteResponse, error)
Delete removes a GroupRole by ID.
func (*GroupsRoles) Get ¶
func (svc *GroupsRoles) Get( ctx context.Context, id string) ( *GroupRoleGetResponse, error)
Get reads one GroupRole by ID.
func (*GroupsRoles) List ¶
func (svc *GroupsRoles) List( ctx context.Context, filter string, args ...interface{}) ( GroupRoleIterator, error)
List gets a list of GroupRoles matching a given set of criteria.
type GroupsRolesHistory ¶
type GroupsRolesHistory struct {
// contains filtered or unexported fields
}
GroupsRolesHistory records all changes to the state of a GroupRole.
func (*GroupsRolesHistory) List ¶
func (svc *GroupsRolesHistory) List( ctx context.Context, filter string, args ...interface{}) ( GroupRoleHistoryIterator, error)
List gets a list of GroupRoleHistory records matching a given set of criteria.
type HTTPAuth ¶
type HTTPAuth struct {
// The content to set as the authorization header.
AuthHeader string `json:"authHeader"`
// The bind interface is the IP address to which the port override of a resource is bound (for example, 127.0.0.1). It is automatically generated if not provided and may also be set to one of the ResourceIPAllocationMode constants to select between VNM, loopback, or default allocation.
BindInterface string `json:"bindInterface"`
// Additional HTTP headers to include in requests.
CustomHeaders *CustomHeaders `json:"customHeaders"`
// Automatically redirect to this path upon connecting.
DefaultPath string `json:"defaultPath"`
// A filter applied to the routing logic to pin datasource to nodes.
EgressFilter string `json:"egressFilter"`
// Header names (e.g. Authorization), to omit from logs.
HeadersBlacklist string `json:"headersBlacklist"`
// This path will be used to check the health of your site.
HealthcheckPath string `json:"healthcheckPath"`
// True if the datasource is reachable and the credentials are valid.
Healthy bool `json:"healthy"`
// The host header will be overwritten with this field if provided.
HostOverride string `json:"hostOverride"`
// Unique identifier of the Resource.
ID string `json:"id"`
// Unique human-readable name of the Resource.
Name string `json:"name"`
// The local port used by clients to connect to this resource. It is automatically generated if not provided on create and may be re-generated on update by specifying a value of -1.
PortOverride int32 `json:"portOverride"`
// ID of the proxy cluster for this resource, if any.
ProxyClusterID string `json:"proxyClusterId"`
// ID of the secret store containing credentials for this resource, if any.
SecretStoreID string `json:"secretStoreId"`
// Subdomain is the local DNS address. (e.g. app-prod1 turns into app-prod1.your-org-name.sdm.network)
Subdomain string `json:"subdomain"`
// Tags is a map of key, value pairs.
Tags Tags `json:"tags"`
// This option enforces HTTPS on the client, not resource connection.
TlsRequired bool `json:"tlsRequired"`
// The base address of your website without the path.
Url string `json:"url"`
}
func (*HTTPAuth) GetBindInterface ¶
GetBindInterface returns the bind interface of the HTTPAuth.
func (*HTTPAuth) GetEgressFilter ¶
GetEgressFilter returns the egress filter of the HTTPAuth.
func (*HTTPAuth) GetSecretStoreID ¶
GetSecretStoreID returns the secret store id of the HTTPAuth.
func (*HTTPAuth) SetBindInterface ¶
SetBindInterface sets the bind interface of the HTTPAuth.
func (*HTTPAuth) SetEgressFilter ¶
SetEgressFilter sets the egress filter of the HTTPAuth.
func (*HTTPAuth) SetSecretStoreID ¶
SetSecretStoreID sets the secret store id of the HTTPAuth.
type HTTPBasicAuth ¶
type HTTPBasicAuth struct {
// The bind interface is the IP address to which the port override of a resource is bound (for example, 127.0.0.1). It is automatically generated if not provided and may also be set to one of the ResourceIPAllocationMode constants to select between VNM, loopback, or default allocation.
BindInterface string `json:"bindInterface"`
// Additional HTTP headers to include in requests.
CustomHeaders *CustomHeaders `json:"customHeaders"`
// Automatically redirect to this path upon connecting.
DefaultPath string `json:"defaultPath"`
// A filter applied to the routing logic to pin datasource to nodes.
EgressFilter string `json:"egressFilter"`
// Header names (e.g. Authorization), to omit from logs.
HeadersBlacklist string `json:"headersBlacklist"`
// This path will be used to check the health of your site.
HealthcheckPath string `json:"healthcheckPath"`
// True if the datasource is reachable and the credentials are valid.
Healthy bool `json:"healthy"`
// The host header will be overwritten with this field if provided.
HostOverride string `json:"hostOverride"`
// Unique identifier of the Resource.
ID string `json:"id"`
// Unique human-readable name of the Resource.
Name string `json:"name"`
// The password to authenticate with.
Password string `json:"password"`
// The local port used by clients to connect to this resource. It is automatically generated if not provided on create and may be re-generated on update by specifying a value of -1.
PortOverride int32 `json:"portOverride"`
// ID of the proxy cluster for this resource, if any.
ProxyClusterID string `json:"proxyClusterId"`
// ID of the secret store containing credentials for this resource, if any.
SecretStoreID string `json:"secretStoreId"`
// Subdomain is the local DNS address. (e.g. app-prod1 turns into app-prod1.your-org-name.sdm.network)
Subdomain string `json:"subdomain"`
// Tags is a map of key, value pairs.
Tags Tags `json:"tags"`
// This option enforces HTTPS on the client, not resource connection.
TlsRequired bool `json:"tlsRequired"`
// The base address of your website without the path.
Url string `json:"url"`
// The username to authenticate with.
Username string `json:"username"`
}
func (*HTTPBasicAuth) GetBindInterface ¶
func (m *HTTPBasicAuth) GetBindInterface() string
GetBindInterface returns the bind interface of the HTTPBasicAuth.
func (*HTTPBasicAuth) GetEgressFilter ¶
func (m *HTTPBasicAuth) GetEgressFilter() string
GetEgressFilter returns the egress filter of the HTTPBasicAuth.
func (*HTTPBasicAuth) GetID ¶
func (m *HTTPBasicAuth) GetID() string
GetID returns the unique identifier of the HTTPBasicAuth.
func (*HTTPBasicAuth) GetName ¶
func (m *HTTPBasicAuth) GetName() string
GetName returns the name of the HTTPBasicAuth.
func (*HTTPBasicAuth) GetSecretStoreID ¶
func (m *HTTPBasicAuth) GetSecretStoreID() string
GetSecretStoreID returns the secret store id of the HTTPBasicAuth.
func (*HTTPBasicAuth) GetTags ¶
func (m *HTTPBasicAuth) GetTags() Tags
GetTags returns the tags of the HTTPBasicAuth.
func (*HTTPBasicAuth) SetBindInterface ¶
func (m *HTTPBasicAuth) SetBindInterface(v string)
SetBindInterface sets the bind interface of the HTTPBasicAuth.
func (*HTTPBasicAuth) SetEgressFilter ¶
func (m *HTTPBasicAuth) SetEgressFilter(v string)
SetEgressFilter sets the egress filter of the HTTPBasicAuth.
func (*HTTPBasicAuth) SetName ¶
func (m *HTTPBasicAuth) SetName(v string)
SetName sets the name of the HTTPBasicAuth.
func (*HTTPBasicAuth) SetSecretStoreID ¶
func (m *HTTPBasicAuth) SetSecretStoreID(v string)
SetSecretStoreID sets the secret store id of the HTTPBasicAuth.
func (*HTTPBasicAuth) SetTags ¶
func (m *HTTPBasicAuth) SetTags(v Tags)
SetTags sets the tags of the HTTPBasicAuth.
type HTTPNoAuth ¶
type HTTPNoAuth struct {
// The bind interface is the IP address to which the port override of a resource is bound (for example, 127.0.0.1). It is automatically generated if not provided and may also be set to one of the ResourceIPAllocationMode constants to select between VNM, loopback, or default allocation.
BindInterface string `json:"bindInterface"`
// Additional HTTP headers to include in requests.
CustomHeaders *CustomHeaders `json:"customHeaders"`
// Automatically redirect to this path upon connecting.
DefaultPath string `json:"defaultPath"`
// A filter applied to the routing logic to pin datasource to nodes.
EgressFilter string `json:"egressFilter"`
// Header names (e.g. Authorization), to omit from logs.
HeadersBlacklist string `json:"headersBlacklist"`
// This path will be used to check the health of your site.
HealthcheckPath string `json:"healthcheckPath"`
// True if the datasource is reachable and the credentials are valid.
Healthy bool `json:"healthy"`
// The host header will be overwritten with this field if provided.
HostOverride string `json:"hostOverride"`
// Unique identifier of the Resource.
ID string `json:"id"`
// Unique human-readable name of the Resource.
Name string `json:"name"`
// The local port used by clients to connect to this resource. It is automatically generated if not provided on create and may be re-generated on update by specifying a value of -1.
PortOverride int32 `json:"portOverride"`
// ID of the proxy cluster for this resource, if any.
ProxyClusterID string `json:"proxyClusterId"`
// ID of the secret store containing credentials for this resource, if any.
SecretStoreID string `json:"secretStoreId"`
// Subdomain is the local DNS address. (e.g. app-prod1 turns into app-prod1.your-org-name.sdm.network)
Subdomain string `json:"subdomain"`
// Tags is a map of key, value pairs.
Tags Tags `json:"tags"`
// This option enforces HTTPS on the client, not resource connection.
TlsRequired bool `json:"tlsRequired"`
// The base address of your website without the path.
Url string `json:"url"`
}
func (*HTTPNoAuth) GetBindInterface ¶
func (m *HTTPNoAuth) GetBindInterface() string
GetBindInterface returns the bind interface of the HTTPNoAuth.
func (*HTTPNoAuth) GetEgressFilter ¶
func (m *HTTPNoAuth) GetEgressFilter() string
GetEgressFilter returns the egress filter of the HTTPNoAuth.
func (*HTTPNoAuth) GetID ¶
func (m *HTTPNoAuth) GetID() string
GetID returns the unique identifier of the HTTPNoAuth.
func (*HTTPNoAuth) GetName ¶
func (m *HTTPNoAuth) GetName() string
GetName returns the name of the HTTPNoAuth.
func (*HTTPNoAuth) GetSecretStoreID ¶
func (m *HTTPNoAuth) GetSecretStoreID() string
GetSecretStoreID returns the secret store id of the HTTPNoAuth.
func (*HTTPNoAuth) GetTags ¶
func (m *HTTPNoAuth) GetTags() Tags
GetTags returns the tags of the HTTPNoAuth.
func (*HTTPNoAuth) SetBindInterface ¶
func (m *HTTPNoAuth) SetBindInterface(v string)
SetBindInterface sets the bind interface of the HTTPNoAuth.
func (*HTTPNoAuth) SetEgressFilter ¶
func (m *HTTPNoAuth) SetEgressFilter(v string)
SetEgressFilter sets the egress filter of the HTTPNoAuth.
func (*HTTPNoAuth) SetName ¶
func (m *HTTPNoAuth) SetName(v string)
SetName sets the name of the HTTPNoAuth.
func (*HTTPNoAuth) SetSecretStoreID ¶
func (m *HTTPNoAuth) SetSecretStoreID(v string)
SetSecretStoreID sets the secret store id of the HTTPNoAuth.
func (*HTTPNoAuth) SetTags ¶
func (m *HTTPNoAuth) SetTags(v Tags)
SetTags sets the tags of the HTTPNoAuth.
type HealthChecks ¶
type HealthChecks struct {
// contains filtered or unexported fields
}
HealthChecks lists the last healthcheck between each node and resource. Note the unconventional capitalization here is to prevent having a collision with GRPC
func (*HealthChecks) List ¶
func (svc *HealthChecks) List( ctx context.Context, filter string, args ...interface{}) ( HealthcheckIterator, error)
List gets a list of Healthchecks matching a given set of criteria.
type Healthcheck ¶
type Healthcheck struct {
// The error if unhealthy
ErrorMsg string `json:"errorMsg"`
// Whether the healthcheck succeeded.
Healthy bool `json:"healthy"`
// Unique identifier of the healthcheck.
ID string `json:"id"`
// Unique identifier of the healthcheck node.
NodeID string `json:"nodeId"`
// The name of the node.
NodeName string `json:"nodeName"`
// Unique identifier of the healthcheck resource.
ResourceID string `json:"resourceId"`
// The name of the resource.
ResourceName string `json:"resourceName"`
// The time at which the healthcheck state was recorded.
Timestamp time.Time `json:"timestamp"`
}
Healthcheck defines the status of the link between a node and a resource
type HealthcheckIterator ¶
type HealthcheckIterator interface {
// Next advances the iterator to the next item in the list. It returns
// true if an item is available to retrieve via the `Value()` function.
Next() bool
// Value returns the current item, if one is available.
Value() *Healthcheck
// Err returns the first error encountered during iteration, if any.
Err() error
}
HealthcheckIterator provides read access to a list of Healthcheck. Use it like so:
for iterator.Next() {
healthcheck := iterator.Value()
// ...
}
type HealthcheckListResponse ¶
type HealthcheckListResponse struct {
// Rate limit information.
RateLimit *RateLimitMetadata `json:"rateLimit"`
}
HealthcheckListResponse returns a list of Healthchecks that meet the criteria of a HealthcheckListRequest.
type HealthcheckRequest ¶
type HealthcheckRequest struct {
// required
SecretEngineID string `json:"secretEngineId"`
}
type HealthcheckResponse ¶
type HealthcheckResponse struct {
// Rate limit information.
RateLimit *RateLimitMetadata `json:"rateLimit"`
// Array of statuses of all nodes serving a secret engine
Status []*HealthcheckStatus `json:"status"`
}
type HealthcheckStatus ¶
type HealthcheckStatus struct {
// ID of node
NodeID string `json:"nodeId"`
// Status of node's health
Status string `json:"status"`
}
HealthcheckStatus contains status of a node health
type IdentityAlias ¶
type IdentityAlias struct {
// The account for this identity alias.
AccountID string `json:"accountId"`
// Unique identifier of the IdentityAlias.
ID string `json:"id"`
// The identity set.
IdentitySetID string `json:"identitySetId"`
// The username to be used as the identity alias for this account.
Username string `json:"username"`
}
IdentityAliases define the username to be used for a specific account when connecting to a remote resource using that identity set.
type IdentityAliasCreateResponse ¶
type IdentityAliasCreateResponse struct {
// The created IdentityAlias.
IdentityAlias *IdentityAlias `json:"identityAlias"`
// Reserved for future use.
Meta *CreateResponseMetadata `json:"meta"`
// Rate limit information.
RateLimit *RateLimitMetadata `json:"rateLimit"`
}
IdentityAliasCreateResponse reports how the IdentityAliases were created in the system.
type IdentityAliasDeleteResponse ¶
type IdentityAliasDeleteResponse struct {
// Reserved for future use.
Meta *DeleteResponseMetadata `json:"meta"`
// Rate limit information.
RateLimit *RateLimitMetadata `json:"rateLimit"`
}
IdentityAliasDeleteResponse returns information about a IdentityAlias that was deleted.
type IdentityAliasGetResponse ¶
type IdentityAliasGetResponse struct {
// The requested IdentityAlias.
IdentityAlias *IdentityAlias `json:"identityAlias"`
// Reserved for future use.
Meta *GetResponseMetadata `json:"meta"`
// Rate limit information.
RateLimit *RateLimitMetadata `json:"rateLimit"`
}
IdentityAliasGetResponse returns a requested IdentityAlias.
type IdentityAliasHistory ¶
type IdentityAliasHistory struct {
// The unique identifier of the Activity that produced this change to the IdentityAlias.
// May be empty for some system-initiated updates.
ActivityID string `json:"activityId"`
// If this IdentityAlias was deleted, the time it was deleted.
DeletedAt time.Time `json:"deletedAt"`
// The complete IdentityAlias state at this time.
IdentityAlias *IdentityAlias `json:"identityAlias"`
// The time at which the IdentityAlias state was recorded.
Timestamp time.Time `json:"timestamp"`
}
IdentityAliasHistory records the state of a IdentityAlias at a given point in time, where every change (create, update and delete) to a IdentityAlias produces an IdentityAliasHistory record.
type IdentityAliasHistoryIterator ¶
type IdentityAliasHistoryIterator interface {
// Next advances the iterator to the next item in the list. It returns
// true if an item is available to retrieve via the `Value()` function.
Next() bool
// Value returns the current item, if one is available.
Value() *IdentityAliasHistory
// Err returns the first error encountered during iteration, if any.
Err() error
}
IdentityAliasHistoryIterator provides read access to a list of IdentityAliasHistory. Use it like so:
for iterator.Next() {
identityAliasHistory := iterator.Value()
// ...
}
type IdentityAliasIterator ¶
type IdentityAliasIterator interface {
// Next advances the iterator to the next item in the list. It returns
// true if an item is available to retrieve via the `Value()` function.
Next() bool
// Value returns the current item, if one is available.
Value() *IdentityAlias
// Err returns the first error encountered during iteration, if any.
Err() error
}
IdentityAliasIterator provides read access to a list of IdentityAlias. Use it like so:
for iterator.Next() {
identityAlias := iterator.Value()
// ...
}
type IdentityAliasUpdateResponse ¶
type IdentityAliasUpdateResponse struct {
// The updated IdentityAlias.
IdentityAlias *IdentityAlias `json:"identityAlias"`
// Reserved for future use.
Meta *UpdateResponseMetadata `json:"meta"`
// Rate limit information.
RateLimit *RateLimitMetadata `json:"rateLimit"`
}
IdentityAliasUpdateResponse returns the fields of a IdentityAlias after it has been updated by a IdentityAliasUpdateRequest.
type IdentityAliases ¶
type IdentityAliases struct {
// contains filtered or unexported fields
}
IdentityAliases assign an alias to an account within an IdentitySet. The alias is used as the username when connecting to a identity supported resource.
func (*IdentityAliases) Create ¶
func (svc *IdentityAliases) Create( ctx context.Context, identityAlias *IdentityAlias) ( *IdentityAliasCreateResponse, error)
Create registers a new IdentityAlias.
func (*IdentityAliases) Delete ¶
func (svc *IdentityAliases) Delete( ctx context.Context, id string) ( *IdentityAliasDeleteResponse, error)
Delete removes a IdentityAlias by ID.
func (*IdentityAliases) Get ¶
func (svc *IdentityAliases) Get( ctx context.Context, id string) ( *IdentityAliasGetResponse, error)
Get reads one IdentityAlias by ID.
func (*IdentityAliases) List ¶
func (svc *IdentityAliases) List( ctx context.Context, filter string, args ...interface{}) ( IdentityAliasIterator, error)
List gets a list of IdentityAliases matching a given set of criteria.
func (*IdentityAliases) Update ¶
func (svc *IdentityAliases) Update( ctx context.Context, identityAlias *IdentityAlias) ( *IdentityAliasUpdateResponse, error)
Update replaces all the fields of a IdentityAlias by ID.
type IdentityAliasesHistory ¶
type IdentityAliasesHistory struct {
// contains filtered or unexported fields
}
IdentityAliasesHistory records all changes to the state of a IdentityAlias.
func (*IdentityAliasesHistory) List ¶
func (svc *IdentityAliasesHistory) List( ctx context.Context, filter string, args ...interface{}) ( IdentityAliasHistoryIterator, error)
List gets a list of IdentityAliasHistory records matching a given set of criteria.
type IdentitySet ¶
type IdentitySet struct {
// Unique identifier of the IdentitySet.
ID string `json:"id"`
// Unique human-readable name of the IdentitySet.
Name string `json:"name"`
}
A IdentitySet defines a group of identity aliases.
type IdentitySetCreateResponse ¶
type IdentitySetCreateResponse struct {
// The created IdentitySet.
IdentitySet *IdentitySet `json:"identitySet"`
// Reserved for future use.
Meta *CreateResponseMetadata `json:"meta"`
// Rate limit information.
RateLimit *RateLimitMetadata `json:"rateLimit"`
}
IdentitySetCreateResponse reports how the IdentitySets were created in the system. It can communicate partial successes or failures.
type IdentitySetDeleteResponse ¶
type IdentitySetDeleteResponse struct {
// Reserved for future use.
Meta *DeleteResponseMetadata `json:"meta"`
// Rate limit information.
RateLimit *RateLimitMetadata `json:"rateLimit"`
}
IdentitySetDeleteResponse returns information about a IdentitySet that was deleted.
type IdentitySetGetResponse ¶
type IdentitySetGetResponse struct {
// The requested IdentitySet.
IdentitySet *IdentitySet `json:"identitySet"`
// Reserved for future use.
Meta *GetResponseMetadata `json:"meta"`
// Rate limit information.
RateLimit *RateLimitMetadata `json:"rateLimit"`
}
IdentitySetGetResponse returns a requested IdentitySet.
type IdentitySetHistory ¶
type IdentitySetHistory struct {
// The unique identifier of the Activity that produced this change to the IdentitySet.
// May be empty for some system-initiated updates.
ActivityID string `json:"activityId"`
// If this IdentitySet was deleted, the time it was deleted.
DeletedAt time.Time `json:"deletedAt"`
// The complete IdentitySet state at this time.
IdentitySet *IdentitySet `json:"identitySet"`
// The time at which the IdentitySet state was recorded.
Timestamp time.Time `json:"timestamp"`
}
IdentitySetHistory records the state of a IdentitySet at a given point in time, where every change (create, update and delete) to a IdentitySet produces an IdentitySetHistory record.
type IdentitySetHistoryIterator ¶
type IdentitySetHistoryIterator interface {
// Next advances the iterator to the next item in the list. It returns
// true if an item is available to retrieve via the `Value()` function.
Next() bool
// Value returns the current item, if one is available.
Value() *IdentitySetHistory
// Err returns the first error encountered during iteration, if any.
Err() error
}
IdentitySetHistoryIterator provides read access to a list of IdentitySetHistory. Use it like so:
for iterator.Next() {
identitySetHistory := iterator.Value()
// ...
}
type IdentitySetIterator ¶
type IdentitySetIterator interface {
// Next advances the iterator to the next item in the list. It returns
// true if an item is available to retrieve via the `Value()` function.
Next() bool
// Value returns the current item, if one is available.
Value() *IdentitySet
// Err returns the first error encountered during iteration, if any.
Err() error
}
IdentitySetIterator provides read access to a list of IdentitySet. Use it like so:
for iterator.Next() {
identitySet := iterator.Value()
// ...
}
type IdentitySetUpdateResponse ¶
type IdentitySetUpdateResponse struct {
// The updated IdentitySet.
IdentitySet *IdentitySet `json:"identitySet"`
// Reserved for future use.
Meta *UpdateResponseMetadata `json:"meta"`
// Rate limit information.
RateLimit *RateLimitMetadata `json:"rateLimit"`
}
IdentitySetUpdateResponse returns the fields of a IdentitySet after it has been updated by a IdentitySetUpdateRequest.
type IdentitySets ¶
type IdentitySets struct {
// contains filtered or unexported fields
}
A IdentitySet is a named grouping of Identity Aliases for Accounts. An Account's relationship to a IdentitySet is defined via IdentityAlias objects.
func (*IdentitySets) Create ¶
func (svc *IdentitySets) Create( ctx context.Context, identitySet *IdentitySet) ( *IdentitySetCreateResponse, error)
Create registers a new IdentitySet.
func (*IdentitySets) Delete ¶
func (svc *IdentitySets) Delete( ctx context.Context, id string) ( *IdentitySetDeleteResponse, error)
Delete removes a IdentitySet by ID.
func (*IdentitySets) Get ¶
func (svc *IdentitySets) Get( ctx context.Context, id string) ( *IdentitySetGetResponse, error)
Get reads one IdentitySet by ID.
func (*IdentitySets) List ¶
func (svc *IdentitySets) List( ctx context.Context, filter string, args ...interface{}) ( IdentitySetIterator, error)
List gets a list of IdentitySets matching a given set of criteria.
func (*IdentitySets) Update ¶
func (svc *IdentitySets) Update( ctx context.Context, identitySet *IdentitySet) ( *IdentitySetUpdateResponse, error)
Update replaces all the fields of a IdentitySet by ID.
type IdentitySetsHistory ¶
type IdentitySetsHistory struct {
// contains filtered or unexported fields
}
IdentitySetsHistory records all changes to the state of a IdentitySet.
func (*IdentitySetsHistory) List ¶
func (svc *IdentitySetsHistory) List( ctx context.Context, filter string, args ...interface{}) ( IdentitySetHistoryIterator, error)
List gets a list of IdentitySetHistory records matching a given set of criteria.
type InternalError ¶
type InternalError struct {
// Message is the error content.
Message string
}
InternalError is used to specify an internal system error
func (InternalError) Code ¶
func (e InternalError) Code() int
func (InternalError) Error ¶
func (e InternalError) Error() string
type K8sPrivileges ¶
type K8sPrivileges struct {
// Groups are the list of RBAC groups one will impersonate into
// when attempting a connection to a k8s cluster.
Groups []string `json:"groups,omitempty"`
}
K8sPrivileges specifies different privilege level constructs for kubernetes resources.
func (K8sPrivileges) IsZero ¶
func (p K8sPrivileges) IsZero() bool
type KeyValueEngine ¶
type KeyValueEngine struct {
// Unique identifier of the Secret Engine.
ID string `json:"id"`
// An interval of public/private key rotation for secret engine in days
KeyRotationIntervalDays int32 `json:"keyRotationIntervalDays"`
// Unique human-readable name of the Secret Engine.
Name string `json:"name"`
// node selector is used to narrow down the nodes used to communicate with with secret engine
NodeSelector string `json:"nodeSelector"`
// Public key linked with a secret engine
PublicKey []byte `json:"publicKey"`
// Backing secret store identifier
SecretStoreID string `json:"secretStoreId"`
// Backing Secret Store root path where managed secrets are going to be stored
SecretStoreRootPath string `json:"secretStoreRootPath"`
// Tags is a map of key, value pairs.
Tags Tags `json:"tags"`
}
func (*KeyValueEngine) GetID ¶
func (m *KeyValueEngine) GetID() string
GetID returns the unique identifier of the KeyValueEngine.
func (*KeyValueEngine) GetKeyRotationIntervalDays ¶ added in v16.6.0
func (m *KeyValueEngine) GetKeyRotationIntervalDays() int32
GetKeyRotationIntervalDays returns the key rotation interval days of the KeyValueEngine.
func (*KeyValueEngine) GetName ¶
func (m *KeyValueEngine) GetName() string
GetName returns the name of the KeyValueEngine.
func (*KeyValueEngine) GetNodeSelector ¶ added in v16.6.0
func (m *KeyValueEngine) GetNodeSelector() string
GetNodeSelector returns the node selector of the KeyValueEngine.
func (*KeyValueEngine) GetPublicKey ¶
func (m *KeyValueEngine) GetPublicKey() []byte
GetPublicKey returns the public key of the KeyValueEngine.
func (*KeyValueEngine) GetSecretStoreID ¶
func (m *KeyValueEngine) GetSecretStoreID() string
GetSecretStoreID returns the secret store id of the KeyValueEngine.
func (*KeyValueEngine) GetSecretStoreRootPath ¶
func (m *KeyValueEngine) GetSecretStoreRootPath() string
GetSecretStoreRootPath returns the secret store root path of the KeyValueEngine.
func (*KeyValueEngine) GetTags ¶
func (m *KeyValueEngine) GetTags() Tags
GetTags returns the tags of the KeyValueEngine.
func (*KeyValueEngine) SetKeyRotationIntervalDays ¶ added in v16.6.0
func (m *KeyValueEngine) SetKeyRotationIntervalDays(v int32)
SetKeyRotationIntervalDays sets the key rotation interval days of the KeyValueEngine.
func (*KeyValueEngine) SetName ¶
func (m *KeyValueEngine) SetName(v string)
SetName sets the name of the KeyValueEngine.
func (*KeyValueEngine) SetNodeSelector ¶ added in v16.6.0
func (m *KeyValueEngine) SetNodeSelector(v string)
SetNodeSelector sets the node selector of the KeyValueEngine.
func (*KeyValueEngine) SetPublicKey ¶
func (m *KeyValueEngine) SetPublicKey(v []byte)
SetPublicKey sets the public key of the KeyValueEngine.
func (*KeyValueEngine) SetSecretStoreID ¶
func (m *KeyValueEngine) SetSecretStoreID(v string)
SetSecretStoreID sets the secret store id of the KeyValueEngine.
func (*KeyValueEngine) SetSecretStoreRootPath ¶
func (m *KeyValueEngine) SetSecretStoreRootPath(v string)
SetSecretStoreRootPath sets the secret store root path of the KeyValueEngine.
func (*KeyValueEngine) SetTags ¶
func (m *KeyValueEngine) SetTags(v Tags)
SetTags sets the tags of the KeyValueEngine.
type KeyfactorSSHStore ¶
type KeyfactorSSHStore struct {
// Path to the root CA that signed the certificate passed to the client for HTTPS connection.
// This is not required if the CA is trusted by the host operating system. This should be a PEM
// formatted certificate, and doesn't necessarily have to be the CA that signed CertificateFile.
CaFilePath string `json:"caFilePath"`
// Path to client certificate in PEM format. This certificate must contain a client certificate that
// is recognized by the EJBCA instance represented by Hostname. This PEM file may also contain the private
// key associated with the certificate, but KeyFile can also be set to configure the private key.
CertificateFilePath string `json:"certificateFilePath"`
// Name of EJBCA certificate authority that will enroll CSR.
DefaultCertificateAuthorityName string `json:"defaultCertificateAuthorityName"`
// Certificate profile name that EJBCA will enroll the CSR with.
DefaultCertificateProfileName string `json:"defaultCertificateProfileName"`
// End entity profile that EJBCA will enroll the CSR with.
DefaultEndEntityProfileName string `json:"defaultEndEntityProfileName"`
// code used by EJBCA during enrollment. May be left blank if no code is required.
EnrollmentCodeEnvVar string `json:"enrollmentCodeEnvVar"`
// username that used by the EJBCA during enrollment. This can be left out.
// If so, the username must be auto-generated on the Keyfactor side.
EnrollmentUsernameEnvVar string `json:"enrollmentUsernameEnvVar"`
// Unique identifier of the SecretStore.
ID string `json:"id"`
// Path to private key in PEM format. This file should contain the private key associated with the
// client certificate configured in CertificateFile.
KeyFilePath string `json:"keyFilePath"`
// Unique human-readable name of the SecretStore.
Name string `json:"name"`
// the host of the Key Factor CA
ServerAddress string `json:"serverAddress"`
// Tags is a map of key, value pairs.
Tags Tags `json:"tags"`
}
func (*KeyfactorSSHStore) GetID ¶
func (m *KeyfactorSSHStore) GetID() string
GetID returns the unique identifier of the KeyfactorSSHStore.
func (*KeyfactorSSHStore) GetName ¶
func (m *KeyfactorSSHStore) GetName() string
GetName returns the name of the KeyfactorSSHStore.
func (*KeyfactorSSHStore) GetTags ¶
func (m *KeyfactorSSHStore) GetTags() Tags
GetTags returns the tags of the KeyfactorSSHStore.
func (*KeyfactorSSHStore) SetName ¶
func (m *KeyfactorSSHStore) SetName(v string)
SetName sets the name of the KeyfactorSSHStore.
func (*KeyfactorSSHStore) SetTags ¶
func (m *KeyfactorSSHStore) SetTags(v Tags)
SetTags sets the tags of the KeyfactorSSHStore.
type KeyfactorX509Store ¶
type KeyfactorX509Store struct {
// Path to the root CA that signed the certificate passed to the client for HTTPS connection.
// This is not required if the CA is trusted by the host operating system. This should be a PEM
// formatted certificate, and doesn't necessarily have to be the CA that signed CertificateFile.
CaFilePath string `json:"caFilePath"`
// Path to client certificate in PEM format. This certificate must contain a client certificate that
// is recognized by the EJBCA instance represented by Hostname. This PEM file may also contain the private
// key associated with the certificate, but KeyFile can also be set to configure the private key.
CertificateFilePath string `json:"certificateFilePath"`
// Name of EJBCA certificate authority that will enroll CSR.
DefaultCertificateAuthorityName string `json:"defaultCertificateAuthorityName"`
// Certificate profile name that EJBCA will enroll the CSR with.
DefaultCertificateProfileName string `json:"defaultCertificateProfileName"`
// End entity profile that EJBCA will enroll the CSR with.
DefaultEndEntityProfileName string `json:"defaultEndEntityProfileName"`
// code used by EJBCA during enrollment. May be left blank if no code is required.
EnrollmentCodeEnvVar string `json:"enrollmentCodeEnvVar"`
// username that used by the EJBCA during enrollment. This can be left out.
// If so, the username must be auto-generated on the Keyfactor side.
EnrollmentUsernameEnvVar string `json:"enrollmentUsernameEnvVar"`
// Unique identifier of the SecretStore.
ID string `json:"id"`
// Path to private key in PEM format. This file should contain the private key associated with the
// client certificate configured in CertificateFile.
KeyFilePath string `json:"keyFilePath"`
// Unique human-readable name of the SecretStore.
Name string `json:"name"`
// the host of the Key Factor CA
ServerAddress string `json:"serverAddress"`
// Tags is a map of key, value pairs.
Tags Tags `json:"tags"`
}
func (*KeyfactorX509Store) GetID ¶
func (m *KeyfactorX509Store) GetID() string
GetID returns the unique identifier of the KeyfactorX509Store.
func (*KeyfactorX509Store) GetName ¶
func (m *KeyfactorX509Store) GetName() string
GetName returns the name of the KeyfactorX509Store.
func (*KeyfactorX509Store) GetTags ¶
func (m *KeyfactorX509Store) GetTags() Tags
GetTags returns the tags of the KeyfactorX509Store.
func (*KeyfactorX509Store) SetName ¶
func (m *KeyfactorX509Store) SetName(v string)
SetName sets the name of the KeyfactorX509Store.
func (*KeyfactorX509Store) SetTags ¶
func (m *KeyfactorX509Store) SetTags(v Tags)
SetTags sets the tags of the KeyfactorX509Store.
type Kubernetes ¶
type Kubernetes struct {
// If true, allows users to fallback to the existing authentication mode (Leased Credential or Identity Set)
// when a resource role is not provided.
AllowResourceRoleBypass bool `json:"allowResourceRoleBypass"`
// The bind interface is the IP address to which the port override of a resource is bound (for example, 127.0.0.1). It is automatically generated if not provided and may also be set to one of the ResourceIPAllocationMode constants to select between VNM, loopback, or default allocation.
BindInterface string `json:"bindInterface"`
// The CA to authenticate TLS connections with.
CertificateAuthority string `json:"certificateAuthority"`
// The certificate to authenticate TLS connections with.
ClientCertificate string `json:"clientCertificate"`
// The key to authenticate TLS connections with.
ClientKey string `json:"clientKey"`
// If true, configures discovery of a cluster to be run from a node.
DiscoveryEnabled bool `json:"discoveryEnabled"`
// If a cluster is configured for user impersonation, this is the user to impersonate when
// running discovery.
DiscoveryUsername string `json:"discoveryUsername"`
// A filter applied to the routing logic to pin datasource to nodes.
EgressFilter string `json:"egressFilter"`
// The path used to check the health of your connection. Defaults to `default`.
HealthcheckNamespace string `json:"healthcheckNamespace"`
// True if the datasource is reachable and the credentials are valid.
Healthy bool `json:"healthy"`
// The host to dial to initiate a connection from the egress node to this resource.
Hostname string `json:"hostname"`
// Unique identifier of the Resource.
ID string `json:"id"`
// The username to use for healthchecks, when clients otherwise connect with their own identity alias username.
IdentityAliasHealthcheckUsername string `json:"identityAliasHealthcheckUsername"`
// The ID of the identity set to use for identity connections.
IdentitySetID string `json:"identitySetId"`
// Unique human-readable name of the Resource.
Name string `json:"name"`
// The port to dial to initiate a connection from the egress node to this resource.
Port int32 `json:"port"`
// The local port used by clients to connect to this resource. It is automatically generated if not provided on create and may be re-generated on update by specifying a value of -1.
PortOverride int32 `json:"portOverride"`
// ID of the proxy cluster for this resource, if any.
ProxyClusterID string `json:"proxyClusterId"`
// ID of the secret store containing credentials for this resource, if any.
SecretStoreID string `json:"secretStoreId"`
// DNS subdomain through which this resource may be accessed on clients. (e.g. "app-prod1" allows the resource to be accessed at "app-prod1.your-org-name.sdm-proxy-domain"). Only applicable to HTTP-based resources or resources using virtual networking mode.
Subdomain string `json:"subdomain"`
// Tags is a map of key, value pairs.
Tags Tags `json:"tags"`
}
func (*Kubernetes) GetBindInterface ¶
func (m *Kubernetes) GetBindInterface() string
GetBindInterface returns the bind interface of the Kubernetes.
func (*Kubernetes) GetEgressFilter ¶
func (m *Kubernetes) GetEgressFilter() string
GetEgressFilter returns the egress filter of the Kubernetes.
func (*Kubernetes) GetID ¶
func (m *Kubernetes) GetID() string
GetID returns the unique identifier of the Kubernetes.
func (*Kubernetes) GetName ¶
func (m *Kubernetes) GetName() string
GetName returns the name of the Kubernetes.
func (*Kubernetes) GetSecretStoreID ¶
func (m *Kubernetes) GetSecretStoreID() string
GetSecretStoreID returns the secret store id of the Kubernetes.
func (*Kubernetes) GetTags ¶
func (m *Kubernetes) GetTags() Tags
GetTags returns the tags of the Kubernetes.
func (*Kubernetes) SetBindInterface ¶
func (m *Kubernetes) SetBindInterface(v string)
SetBindInterface sets the bind interface of the Kubernetes.
func (*Kubernetes) SetEgressFilter ¶
func (m *Kubernetes) SetEgressFilter(v string)
SetEgressFilter sets the egress filter of the Kubernetes.
func (*Kubernetes) SetName ¶
func (m *Kubernetes) SetName(v string)
SetName sets the name of the Kubernetes.
func (*Kubernetes) SetSecretStoreID ¶
func (m *Kubernetes) SetSecretStoreID(v string)
SetSecretStoreID sets the secret store id of the Kubernetes.
func (*Kubernetes) SetTags ¶
func (m *Kubernetes) SetTags(v Tags)
SetTags sets the tags of the Kubernetes.
type KubernetesBasicAuth ¶
type KubernetesBasicAuth struct {
// The bind interface is the IP address to which the port override of a resource is bound (for example, 127.0.0.1). It is automatically generated if not provided and may also be set to one of the ResourceIPAllocationMode constants to select between VNM, loopback, or default allocation.
BindInterface string `json:"bindInterface"`
// A filter applied to the routing logic to pin datasource to nodes.
EgressFilter string `json:"egressFilter"`
// The path used to check the health of your connection. Defaults to `default`.
HealthcheckNamespace string `json:"healthcheckNamespace"`
// True if the datasource is reachable and the credentials are valid.
Healthy bool `json:"healthy"`
// The host to dial to initiate a connection from the egress node to this resource.
Hostname string `json:"hostname"`
// Unique identifier of the Resource.
ID string `json:"id"`
// Unique human-readable name of the Resource.
Name string `json:"name"`
// The password to authenticate with.
Password string `json:"password"`
// The port to dial to initiate a connection from the egress node to this resource.
Port int32 `json:"port"`
// The local port used by clients to connect to this resource. It is automatically generated if not provided on create and may be re-generated on update by specifying a value of -1.
PortOverride int32 `json:"portOverride"`
// ID of the proxy cluster for this resource, if any.
ProxyClusterID string `json:"proxyClusterId"`
// ID of the secret store containing credentials for this resource, if any.
SecretStoreID string `json:"secretStoreId"`
// DNS subdomain through which this resource may be accessed on clients. (e.g. "app-prod1" allows the resource to be accessed at "app-prod1.your-org-name.sdm-proxy-domain"). Only applicable to HTTP-based resources or resources using virtual networking mode.
Subdomain string `json:"subdomain"`
// Tags is a map of key, value pairs.
Tags Tags `json:"tags"`
// The username to authenticate with.
Username string `json:"username"`
}
KubernetesBasicAuth is currently unstable, and its API may change, or it may be removed, without a major version bump.
func (*KubernetesBasicAuth) GetBindInterface ¶
func (m *KubernetesBasicAuth) GetBindInterface() string
GetBindInterface returns the bind interface of the KubernetesBasicAuth.
func (*KubernetesBasicAuth) GetEgressFilter ¶
func (m *KubernetesBasicAuth) GetEgressFilter() string
GetEgressFilter returns the egress filter of the KubernetesBasicAuth.
func (*KubernetesBasicAuth) GetID ¶
func (m *KubernetesBasicAuth) GetID() string
GetID returns the unique identifier of the KubernetesBasicAuth.
func (*KubernetesBasicAuth) GetName ¶
func (m *KubernetesBasicAuth) GetName() string
GetName returns the name of the KubernetesBasicAuth.
func (*KubernetesBasicAuth) GetSecretStoreID ¶
func (m *KubernetesBasicAuth) GetSecretStoreID() string
GetSecretStoreID returns the secret store id of the KubernetesBasicAuth.
func (*KubernetesBasicAuth) GetTags ¶
func (m *KubernetesBasicAuth) GetTags() Tags
GetTags returns the tags of the KubernetesBasicAuth.
func (*KubernetesBasicAuth) SetBindInterface ¶
func (m *KubernetesBasicAuth) SetBindInterface(v string)
SetBindInterface sets the bind interface of the KubernetesBasicAuth.
func (*KubernetesBasicAuth) SetEgressFilter ¶
func (m *KubernetesBasicAuth) SetEgressFilter(v string)
SetEgressFilter sets the egress filter of the KubernetesBasicAuth.
func (*KubernetesBasicAuth) SetName ¶
func (m *KubernetesBasicAuth) SetName(v string)
SetName sets the name of the KubernetesBasicAuth.
func (*KubernetesBasicAuth) SetSecretStoreID ¶
func (m *KubernetesBasicAuth) SetSecretStoreID(v string)
SetSecretStoreID sets the secret store id of the KubernetesBasicAuth.
func (*KubernetesBasicAuth) SetTags ¶
func (m *KubernetesBasicAuth) SetTags(v Tags)
SetTags sets the tags of the KubernetesBasicAuth.
type KubernetesPodIdentity ¶
type KubernetesPodIdentity struct {
// If true, allows users to fallback to the existing authentication mode (Leased Credential or Identity Set)
// when a resource role is not provided.
AllowResourceRoleBypass bool `json:"allowResourceRoleBypass"`
// The bind interface is the IP address to which the port override of a resource is bound (for example, 127.0.0.1). It is automatically generated if not provided and may also be set to one of the ResourceIPAllocationMode constants to select between VNM, loopback, or default allocation.
BindInterface string `json:"bindInterface"`
// The CA to authenticate TLS connections with.
CertificateAuthority string `json:"certificateAuthority"`
// If true, configures discovery of a cluster to be run from a node.
DiscoveryEnabled bool `json:"discoveryEnabled"`
// If a cluster is configured for user impersonation, this is the user to impersonate when
// running discovery.
DiscoveryUsername string `json:"discoveryUsername"`
// A filter applied to the routing logic to pin datasource to nodes.
EgressFilter string `json:"egressFilter"`
// The path used to check the health of your connection. Defaults to `default`.
HealthcheckNamespace string `json:"healthcheckNamespace"`
// True if the datasource is reachable and the credentials are valid.
Healthy bool `json:"healthy"`
// Unique identifier of the Resource.
ID string `json:"id"`
// The username to use for healthchecks, when clients otherwise connect with their own identity alias username.
IdentityAliasHealthcheckUsername string `json:"identityAliasHealthcheckUsername"`
// The ID of the identity set to use for identity connections.
IdentitySetID string `json:"identitySetId"`
// Unique human-readable name of the Resource.
Name string `json:"name"`
// The local port used by clients to connect to this resource. It is automatically generated if not provided on create and may be re-generated on update by specifying a value of -1.
PortOverride int32 `json:"portOverride"`
// ID of the proxy cluster for this resource, if any.
ProxyClusterID string `json:"proxyClusterId"`
// ID of the secret store containing credentials for this resource, if any.
SecretStoreID string `json:"secretStoreId"`
// DNS subdomain through which this resource may be accessed on clients. (e.g. "app-prod1" allows the resource to be accessed at "app-prod1.your-org-name.sdm-proxy-domain"). Only applicable to HTTP-based resources or resources using virtual networking mode.
Subdomain string `json:"subdomain"`
// Tags is a map of key, value pairs.
Tags Tags `json:"tags"`
}
func (*KubernetesPodIdentity) GetBindInterface ¶
func (m *KubernetesPodIdentity) GetBindInterface() string
GetBindInterface returns the bind interface of the KubernetesPodIdentity.
func (*KubernetesPodIdentity) GetEgressFilter ¶
func (m *KubernetesPodIdentity) GetEgressFilter() string
GetEgressFilter returns the egress filter of the KubernetesPodIdentity.
func (*KubernetesPodIdentity) GetID ¶
func (m *KubernetesPodIdentity) GetID() string
GetID returns the unique identifier of the KubernetesPodIdentity.
func (*KubernetesPodIdentity) GetName ¶
func (m *KubernetesPodIdentity) GetName() string
GetName returns the name of the KubernetesPodIdentity.
func (*KubernetesPodIdentity) GetSecretStoreID ¶
func (m *KubernetesPodIdentity) GetSecretStoreID() string
GetSecretStoreID returns the secret store id of the KubernetesPodIdentity.
func (*KubernetesPodIdentity) GetTags ¶
func (m *KubernetesPodIdentity) GetTags() Tags
GetTags returns the tags of the KubernetesPodIdentity.
func (*KubernetesPodIdentity) SetBindInterface ¶
func (m *KubernetesPodIdentity) SetBindInterface(v string)
SetBindInterface sets the bind interface of the KubernetesPodIdentity.
func (*KubernetesPodIdentity) SetEgressFilter ¶
func (m *KubernetesPodIdentity) SetEgressFilter(v string)
SetEgressFilter sets the egress filter of the KubernetesPodIdentity.
func (*KubernetesPodIdentity) SetName ¶
func (m *KubernetesPodIdentity) SetName(v string)
SetName sets the name of the KubernetesPodIdentity.
func (*KubernetesPodIdentity) SetSecretStoreID ¶
func (m *KubernetesPodIdentity) SetSecretStoreID(v string)
SetSecretStoreID sets the secret store id of the KubernetesPodIdentity.
func (*KubernetesPodIdentity) SetTags ¶
func (m *KubernetesPodIdentity) SetTags(v Tags)
SetTags sets the tags of the KubernetesPodIdentity.
type KubernetesServiceAccount ¶
type KubernetesServiceAccount struct {
// If true, allows users to fallback to the existing authentication mode (Leased Credential or Identity Set)
// when a resource role is not provided.
AllowResourceRoleBypass bool `json:"allowResourceRoleBypass"`
// The bind interface is the IP address to which the port override of a resource is bound (for example, 127.0.0.1). It is automatically generated if not provided and may also be set to one of the ResourceIPAllocationMode constants to select between VNM, loopback, or default allocation.
BindInterface string `json:"bindInterface"`
// If true, configures discovery of a cluster to be run from a node.
DiscoveryEnabled bool `json:"discoveryEnabled"`
// If a cluster is configured for user impersonation, this is the user to impersonate when
// running discovery.
DiscoveryUsername string `json:"discoveryUsername"`
// A filter applied to the routing logic to pin datasource to nodes.
EgressFilter string `json:"egressFilter"`
// The path used to check the health of your connection. Defaults to `default`.
HealthcheckNamespace string `json:"healthcheckNamespace"`
// True if the datasource is reachable and the credentials are valid.
Healthy bool `json:"healthy"`
// The host to dial to initiate a connection from the egress node to this resource.
Hostname string `json:"hostname"`
// Unique identifier of the Resource.
ID string `json:"id"`
// The username to use for healthchecks, when clients otherwise connect with their own identity alias username.
IdentityAliasHealthcheckUsername string `json:"identityAliasHealthcheckUsername"`
// The ID of the identity set to use for identity connections.
IdentitySetID string `json:"identitySetId"`
// Unique human-readable name of the Resource.
Name string `json:"name"`
// The port to dial to initiate a connection from the egress node to this resource.
Port int32 `json:"port"`
// The local port used by clients to connect to this resource. It is automatically generated if not provided on create and may be re-generated on update by specifying a value of -1.
PortOverride int32 `json:"portOverride"`
// ID of the proxy cluster for this resource, if any.
ProxyClusterID string `json:"proxyClusterId"`
// ID of the secret store containing credentials for this resource, if any.
SecretStoreID string `json:"secretStoreId"`
// DNS subdomain through which this resource may be accessed on clients. (e.g. "app-prod1" allows the resource to be accessed at "app-prod1.your-org-name.sdm-proxy-domain"). Only applicable to HTTP-based resources or resources using virtual networking mode.
Subdomain string `json:"subdomain"`
// Tags is a map of key, value pairs.
Tags Tags `json:"tags"`
// The API token to authenticate with.
Token string `json:"token"`
}
func (*KubernetesServiceAccount) GetBindInterface ¶
func (m *KubernetesServiceAccount) GetBindInterface() string
GetBindInterface returns the bind interface of the KubernetesServiceAccount.
func (*KubernetesServiceAccount) GetEgressFilter ¶
func (m *KubernetesServiceAccount) GetEgressFilter() string
GetEgressFilter returns the egress filter of the KubernetesServiceAccount.
func (*KubernetesServiceAccount) GetID ¶
func (m *KubernetesServiceAccount) GetID() string
GetID returns the unique identifier of the KubernetesServiceAccount.
func (*KubernetesServiceAccount) GetName ¶
func (m *KubernetesServiceAccount) GetName() string
GetName returns the name of the KubernetesServiceAccount.
func (*KubernetesServiceAccount) GetSecretStoreID ¶
func (m *KubernetesServiceAccount) GetSecretStoreID() string
GetSecretStoreID returns the secret store id of the KubernetesServiceAccount.
func (*KubernetesServiceAccount) GetTags ¶
func (m *KubernetesServiceAccount) GetTags() Tags
GetTags returns the tags of the KubernetesServiceAccount.
func (*KubernetesServiceAccount) SetBindInterface ¶
func (m *KubernetesServiceAccount) SetBindInterface(v string)
SetBindInterface sets the bind interface of the KubernetesServiceAccount.
func (*KubernetesServiceAccount) SetEgressFilter ¶
func (m *KubernetesServiceAccount) SetEgressFilter(v string)
SetEgressFilter sets the egress filter of the KubernetesServiceAccount.
func (*KubernetesServiceAccount) SetName ¶
func (m *KubernetesServiceAccount) SetName(v string)
SetName sets the name of the KubernetesServiceAccount.
func (*KubernetesServiceAccount) SetSecretStoreID ¶
func (m *KubernetesServiceAccount) SetSecretStoreID(v string)
SetSecretStoreID sets the secret store id of the KubernetesServiceAccount.
func (*KubernetesServiceAccount) SetTags ¶
func (m *KubernetesServiceAccount) SetTags(v Tags)
SetTags sets the tags of the KubernetesServiceAccount.
type KubernetesServiceAccountUserImpersonation
deprecated
type KubernetesServiceAccountUserImpersonation struct {
// The bind interface is the IP address to which the port override of a resource is bound (for example, 127.0.0.1). It is automatically generated if not provided and may also be set to one of the ResourceIPAllocationMode constants to select between VNM, loopback, or default allocation.
BindInterface string `json:"bindInterface"`
// A filter applied to the routing logic to pin datasource to nodes.
EgressFilter string `json:"egressFilter"`
// The path used to check the health of your connection. Defaults to `default`.
HealthcheckNamespace string `json:"healthcheckNamespace"`
// True if the datasource is reachable and the credentials are valid.
Healthy bool `json:"healthy"`
// The host to dial to initiate a connection from the egress node to this resource.
Hostname string `json:"hostname"`
// Unique identifier of the Resource.
ID string `json:"id"`
// Unique human-readable name of the Resource.
Name string `json:"name"`
// The port to dial to initiate a connection from the egress node to this resource.
Port int32 `json:"port"`
// The local port used by clients to connect to this resource. It is automatically generated if not provided on create and may be re-generated on update by specifying a value of -1.
PortOverride int32 `json:"portOverride"`
// ID of the proxy cluster for this resource, if any.
ProxyClusterID string `json:"proxyClusterId"`
// ID of the secret store containing credentials for this resource, if any.
SecretStoreID string `json:"secretStoreId"`
// DNS subdomain through which this resource may be accessed on clients. (e.g. "app-prod1" allows the resource to be accessed at "app-prod1.your-org-name.sdm-proxy-domain"). Only applicable to HTTP-based resources or resources using virtual networking mode.
Subdomain string `json:"subdomain"`
// Tags is a map of key, value pairs.
Tags Tags `json:"tags"`
// The API token to authenticate with.
Token string `json:"token"`
}
Deprecated: see docs for more info.
func (*KubernetesServiceAccountUserImpersonation) GetBindInterface ¶
func (m *KubernetesServiceAccountUserImpersonation) GetBindInterface() string
GetBindInterface returns the bind interface of the KubernetesServiceAccountUserImpersonation.
func (*KubernetesServiceAccountUserImpersonation) GetEgressFilter ¶
func (m *KubernetesServiceAccountUserImpersonation) GetEgressFilter() string
GetEgressFilter returns the egress filter of the KubernetesServiceAccountUserImpersonation.
func (*KubernetesServiceAccountUserImpersonation) GetID ¶
func (m *KubernetesServiceAccountUserImpersonation) GetID() string
GetID returns the unique identifier of the KubernetesServiceAccountUserImpersonation.
func (*KubernetesServiceAccountUserImpersonation) GetName ¶
func (m *KubernetesServiceAccountUserImpersonation) GetName() string
GetName returns the name of the KubernetesServiceAccountUserImpersonation.
func (*KubernetesServiceAccountUserImpersonation) GetSecretStoreID ¶
func (m *KubernetesServiceAccountUserImpersonation) GetSecretStoreID() string
GetSecretStoreID returns the secret store id of the KubernetesServiceAccountUserImpersonation.
func (*KubernetesServiceAccountUserImpersonation) GetTags ¶
func (m *KubernetesServiceAccountUserImpersonation) GetTags() Tags
GetTags returns the tags of the KubernetesServiceAccountUserImpersonation.
func (*KubernetesServiceAccountUserImpersonation) SetBindInterface ¶
func (m *KubernetesServiceAccountUserImpersonation) SetBindInterface(v string)
SetBindInterface sets the bind interface of the KubernetesServiceAccountUserImpersonation.
func (*KubernetesServiceAccountUserImpersonation) SetEgressFilter ¶
func (m *KubernetesServiceAccountUserImpersonation) SetEgressFilter(v string)
SetEgressFilter sets the egress filter of the KubernetesServiceAccountUserImpersonation.
func (*KubernetesServiceAccountUserImpersonation) SetName ¶
func (m *KubernetesServiceAccountUserImpersonation) SetName(v string)
SetName sets the name of the KubernetesServiceAccountUserImpersonation.
func (*KubernetesServiceAccountUserImpersonation) SetSecretStoreID ¶
func (m *KubernetesServiceAccountUserImpersonation) SetSecretStoreID(v string)
SetSecretStoreID sets the secret store id of the KubernetesServiceAccountUserImpersonation.
func (*KubernetesServiceAccountUserImpersonation) SetTags ¶
func (m *KubernetesServiceAccountUserImpersonation) SetTags(v Tags)
SetTags sets the tags of the KubernetesServiceAccountUserImpersonation.
type KubernetesUserImpersonation
deprecated
type KubernetesUserImpersonation struct {
// The bind interface is the IP address to which the port override of a resource is bound (for example, 127.0.0.1). It is automatically generated if not provided and may also be set to one of the ResourceIPAllocationMode constants to select between VNM, loopback, or default allocation.
BindInterface string `json:"bindInterface"`
// The CA to authenticate TLS connections with.
CertificateAuthority string `json:"certificateAuthority"`
// The certificate to authenticate TLS connections with.
ClientCertificate string `json:"clientCertificate"`
// The key to authenticate TLS connections with.
ClientKey string `json:"clientKey"`
// A filter applied to the routing logic to pin datasource to nodes.
EgressFilter string `json:"egressFilter"`
// The path used to check the health of your connection. Defaults to `default`.
HealthcheckNamespace string `json:"healthcheckNamespace"`
// True if the datasource is reachable and the credentials are valid.
Healthy bool `json:"healthy"`
// The host to dial to initiate a connection from the egress node to this resource.
Hostname string `json:"hostname"`
// Unique identifier of the Resource.
ID string `json:"id"`
// Unique human-readable name of the Resource.
Name string `json:"name"`
// The port to dial to initiate a connection from the egress node to this resource.
Port int32 `json:"port"`
// The local port used by clients to connect to this resource. It is automatically generated if not provided on create and may be re-generated on update by specifying a value of -1.
PortOverride int32 `json:"portOverride"`
// ID of the proxy cluster for this resource, if any.
ProxyClusterID string `json:"proxyClusterId"`
// ID of the secret store containing credentials for this resource, if any.
SecretStoreID string `json:"secretStoreId"`
// DNS subdomain through which this resource may be accessed on clients. (e.g. "app-prod1" allows the resource to be accessed at "app-prod1.your-org-name.sdm-proxy-domain"). Only applicable to HTTP-based resources or resources using virtual networking mode.
Subdomain string `json:"subdomain"`
// Tags is a map of key, value pairs.
Tags Tags `json:"tags"`
}
Deprecated: see docs for more info.
func (*KubernetesUserImpersonation) GetBindInterface ¶
func (m *KubernetesUserImpersonation) GetBindInterface() string
GetBindInterface returns the bind interface of the KubernetesUserImpersonation.
func (*KubernetesUserImpersonation) GetEgressFilter ¶
func (m *KubernetesUserImpersonation) GetEgressFilter() string
GetEgressFilter returns the egress filter of the KubernetesUserImpersonation.
func (*KubernetesUserImpersonation) GetID ¶
func (m *KubernetesUserImpersonation) GetID() string
GetID returns the unique identifier of the KubernetesUserImpersonation.
func (*KubernetesUserImpersonation) GetName ¶
func (m *KubernetesUserImpersonation) GetName() string
GetName returns the name of the KubernetesUserImpersonation.
func (*KubernetesUserImpersonation) GetSecretStoreID ¶
func (m *KubernetesUserImpersonation) GetSecretStoreID() string
GetSecretStoreID returns the secret store id of the KubernetesUserImpersonation.
func (*KubernetesUserImpersonation) GetTags ¶
func (m *KubernetesUserImpersonation) GetTags() Tags
GetTags returns the tags of the KubernetesUserImpersonation.
func (*KubernetesUserImpersonation) SetBindInterface ¶
func (m *KubernetesUserImpersonation) SetBindInterface(v string)
SetBindInterface sets the bind interface of the KubernetesUserImpersonation.
func (*KubernetesUserImpersonation) SetEgressFilter ¶
func (m *KubernetesUserImpersonation) SetEgressFilter(v string)
SetEgressFilter sets the egress filter of the KubernetesUserImpersonation.
func (*KubernetesUserImpersonation) SetName ¶
func (m *KubernetesUserImpersonation) SetName(v string)
SetName sets the name of the KubernetesUserImpersonation.
func (*KubernetesUserImpersonation) SetSecretStoreID ¶
func (m *KubernetesUserImpersonation) SetSecretStoreID(v string)
SetSecretStoreID sets the secret store id of the KubernetesUserImpersonation.
func (*KubernetesUserImpersonation) SetTags ¶
func (m *KubernetesUserImpersonation) SetTags(v Tags)
SetTags sets the tags of the KubernetesUserImpersonation.
type LogCategoryConfig ¶
type LogCategoryConfig struct {
// Indicates if the Organization should exclude replay data from remote logging for the log category.
RemoteDiscardReplays bool `json:"remoteDiscardReplays"`
// The Organization's remote log encryption encoder, one of the LogRemoteEncoder constants.
RemoteEncoder string `json:"remoteEncoder"`
}
type LogCategoryConfigMap ¶
type LogCategoryConfigMap map[string]*LogCategoryConfig
type LogConfig ¶
type LogConfig struct {
// The Organization's log category configuration settings.
Categories LogCategoryConfigMap `json:"categories"`
// The Organization's local log encryption encoder, one of the LogLocalEncoder constants.
LocalEncoder string `json:"localEncoder"`
// The Organization's local log format, one of the LogLocalFormat constants.
LocalFormat string `json:"localFormat"`
// The Organization's local log socket path.
LocalSocketPath string `json:"localSocketPath"`
// The Organization's local log storage, one of the LogLocalStorage constants.
LocalStorage string `json:"localStorage"`
// The Organization's local log TCP address.
LocalTCPAddress string `json:"localTcpAddress"`
// The Organization's public key in PEM format for encrypting logs.
PublicKey string `json:"publicKey"`
}
type MCPGatewayNoAuth ¶ added in v16.16.0
type MCPGatewayNoAuth struct {
// The bind interface is the IP address to which the port override of a resource is bound (for example, 127.0.0.1). It is automatically generated if not provided and may also be set to one of the ResourceIPAllocationMode constants to select between VNM, loopback, or default allocation.
BindInterface string `json:"bindInterface"`
// A filter applied to the routing logic to pin datasource to nodes.
EgressFilter string `json:"egressFilter"`
// True if the datasource is reachable and the credentials are valid.
Healthy bool `json:"healthy"`
// The host to dial to initiate a connection from the egress node to this resource.
Hostname string `json:"hostname"`
// Unique identifier of the Resource.
ID string `json:"id"`
// Unique human-readable name of the Resource.
Name string `json:"name"`
// The local port used by clients to connect to this resource. It is automatically generated if not provided on create and may be re-generated on update by specifying a value of -1.
PortOverride int32 `json:"portOverride"`
// ID of the proxy cluster for this resource, if any.
ProxyClusterID string `json:"proxyClusterId"`
// ID of the secret store containing credentials for this resource, if any.
SecretStoreID string `json:"secretStoreId"`
// DNS subdomain through which this resource may be accessed on clients. (e.g. "app-prod1" allows the resource to be accessed at "app-prod1.your-org-name.sdm-proxy-domain"). Only applicable to HTTP-based resources or resources using virtual networking mode.
Subdomain string `json:"subdomain"`
// Tags is a map of key, value pairs.
Tags Tags `json:"tags"`
}
func (*MCPGatewayNoAuth) GetBindInterface ¶ added in v16.16.0
func (m *MCPGatewayNoAuth) GetBindInterface() string
GetBindInterface returns the bind interface of the MCPGatewayNoAuth.
func (*MCPGatewayNoAuth) GetEgressFilter ¶ added in v16.16.0
func (m *MCPGatewayNoAuth) GetEgressFilter() string
GetEgressFilter returns the egress filter of the MCPGatewayNoAuth.
func (*MCPGatewayNoAuth) GetID ¶ added in v16.16.0
func (m *MCPGatewayNoAuth) GetID() string
GetID returns the unique identifier of the MCPGatewayNoAuth.
func (*MCPGatewayNoAuth) GetName ¶ added in v16.16.0
func (m *MCPGatewayNoAuth) GetName() string
GetName returns the name of the MCPGatewayNoAuth.
func (*MCPGatewayNoAuth) GetSecretStoreID ¶ added in v16.16.0
func (m *MCPGatewayNoAuth) GetSecretStoreID() string
GetSecretStoreID returns the secret store id of the MCPGatewayNoAuth.
func (*MCPGatewayNoAuth) GetTags ¶ added in v16.16.0
func (m *MCPGatewayNoAuth) GetTags() Tags
GetTags returns the tags of the MCPGatewayNoAuth.
func (*MCPGatewayNoAuth) SetBindInterface ¶ added in v16.16.0
func (m *MCPGatewayNoAuth) SetBindInterface(v string)
SetBindInterface sets the bind interface of the MCPGatewayNoAuth.
func (*MCPGatewayNoAuth) SetEgressFilter ¶ added in v16.16.0
func (m *MCPGatewayNoAuth) SetEgressFilter(v string)
SetEgressFilter sets the egress filter of the MCPGatewayNoAuth.
func (*MCPGatewayNoAuth) SetName ¶ added in v16.16.0
func (m *MCPGatewayNoAuth) SetName(v string)
SetName sets the name of the MCPGatewayNoAuth.
func (*MCPGatewayNoAuth) SetSecretStoreID ¶ added in v16.16.0
func (m *MCPGatewayNoAuth) SetSecretStoreID(v string)
SetSecretStoreID sets the secret store id of the MCPGatewayNoAuth.
func (*MCPGatewayNoAuth) SetTags ¶ added in v16.16.0
func (m *MCPGatewayNoAuth) SetTags(v Tags)
SetTags sets the tags of the MCPGatewayNoAuth.
type MCPGatewayOAuth ¶ added in v16.20.0
type MCPGatewayOAuth struct {
// The bind interface is the IP address to which the port override of a resource is bound (for example, 127.0.0.1). It is automatically generated if not provided and may also be set to one of the ResourceIPAllocationMode constants to select between VNM, loopback, or default allocation.
BindInterface string `json:"bindInterface"`
// A filter applied to the routing logic to pin datasource to nodes.
EgressFilter string `json:"egressFilter"`
// True if the datasource is reachable and the credentials are valid.
Healthy bool `json:"healthy"`
// The host to dial to initiate a connection from the egress node to this resource.
Hostname string `json:"hostname"`
// Unique identifier of the Resource.
ID string `json:"id"`
// Unique human-readable name of the Resource.
Name string `json:"name"`
// The OAuth 2.0 authorization endpoint URL.
OauthAuthEndpoint string `json:"oauthAuthEndpoint"`
// Space-separated list of OAuth scopes to request.
OauthScopes string `json:"oauthScopes"`
// The OAuth 2.0 token endpoint URL.
OauthTokenEndpoint string `json:"oauthTokenEndpoint"`
// OAuth App Client Secret
Password string `json:"password"`
// The local port used by clients to connect to this resource. It is automatically generated if not provided on create and may be re-generated on update by specifying a value of -1.
PortOverride int32 `json:"portOverride"`
// ID of the proxy cluster for this resource, if any.
ProxyClusterID string `json:"proxyClusterId"`
// ID of the secret store containing credentials for this resource, if any.
SecretStoreID string `json:"secretStoreId"`
// DNS subdomain through which this resource may be accessed on clients. (e.g. "app-prod1" allows the resource to be accessed at "app-prod1.your-org-name.sdm-proxy-domain"). Only applicable to HTTP-based resources or resources using virtual networking mode.
Subdomain string `json:"subdomain"`
// Tags is a map of key, value pairs.
Tags Tags `json:"tags"`
// OAuth App Client ID
Username string `json:"username"`
}
func (*MCPGatewayOAuth) GetBindInterface ¶ added in v16.20.0
func (m *MCPGatewayOAuth) GetBindInterface() string
GetBindInterface returns the bind interface of the MCPGatewayOAuth.
func (*MCPGatewayOAuth) GetEgressFilter ¶ added in v16.20.0
func (m *MCPGatewayOAuth) GetEgressFilter() string
GetEgressFilter returns the egress filter of the MCPGatewayOAuth.
func (*MCPGatewayOAuth) GetID ¶ added in v16.20.0
func (m *MCPGatewayOAuth) GetID() string
GetID returns the unique identifier of the MCPGatewayOAuth.
func (*MCPGatewayOAuth) GetName ¶ added in v16.20.0
func (m *MCPGatewayOAuth) GetName() string
GetName returns the name of the MCPGatewayOAuth.
func (*MCPGatewayOAuth) GetSecretStoreID ¶ added in v16.20.0
func (m *MCPGatewayOAuth) GetSecretStoreID() string
GetSecretStoreID returns the secret store id of the MCPGatewayOAuth.
func (*MCPGatewayOAuth) GetTags ¶ added in v16.20.0
func (m *MCPGatewayOAuth) GetTags() Tags
GetTags returns the tags of the MCPGatewayOAuth.
func (*MCPGatewayOAuth) SetBindInterface ¶ added in v16.20.0
func (m *MCPGatewayOAuth) SetBindInterface(v string)
SetBindInterface sets the bind interface of the MCPGatewayOAuth.
func (*MCPGatewayOAuth) SetEgressFilter ¶ added in v16.20.0
func (m *MCPGatewayOAuth) SetEgressFilter(v string)
SetEgressFilter sets the egress filter of the MCPGatewayOAuth.
func (*MCPGatewayOAuth) SetName ¶ added in v16.20.0
func (m *MCPGatewayOAuth) SetName(v string)
SetName sets the name of the MCPGatewayOAuth.
func (*MCPGatewayOAuth) SetSecretStoreID ¶ added in v16.20.0
func (m *MCPGatewayOAuth) SetSecretStoreID(v string)
SetSecretStoreID sets the secret store id of the MCPGatewayOAuth.
func (*MCPGatewayOAuth) SetTags ¶ added in v16.20.0
func (m *MCPGatewayOAuth) SetTags(v Tags)
SetTags sets the tags of the MCPGatewayOAuth.
type MCPGatewayOAuthDCR ¶ added in v16.20.0
type MCPGatewayOAuthDCR struct {
// The bind interface is the IP address to which the port override of a resource is bound (for example, 127.0.0.1). It is automatically generated if not provided and may also be set to one of the ResourceIPAllocationMode constants to select between VNM, loopback, or default allocation.
BindInterface string `json:"bindInterface"`
// A filter applied to the routing logic to pin datasource to nodes.
EgressFilter string `json:"egressFilter"`
// True if the datasource is reachable and the credentials are valid.
Healthy bool `json:"healthy"`
// The host to dial to initiate a connection from the egress node to this resource.
Hostname string `json:"hostname"`
// Unique identifier of the Resource.
ID string `json:"id"`
// Unique human-readable name of the Resource.
Name string `json:"name"`
// The OAuth 2.0 authorization endpoint URL.
OauthAuthEndpoint string `json:"oauthAuthEndpoint"`
// The OAuth 2.0 dynamic client registration endpoint URL.
OauthRegisterEndpoint string `json:"oauthRegisterEndpoint"`
// Space-separated list of OAuth scopes to request.
OauthScopes string `json:"oauthScopes"`
// The OAuth 2.0 token endpoint URL.
OauthTokenEndpoint string `json:"oauthTokenEndpoint"`
// The local port used by clients to connect to this resource. It is automatically generated if not provided on create and may be re-generated on update by specifying a value of -1.
PortOverride int32 `json:"portOverride"`
// ID of the proxy cluster for this resource, if any.
ProxyClusterID string `json:"proxyClusterId"`
// ID of the secret store containing credentials for this resource, if any.
SecretStoreID string `json:"secretStoreId"`
// DNS subdomain through which this resource may be accessed on clients. (e.g. "app-prod1" allows the resource to be accessed at "app-prod1.your-org-name.sdm-proxy-domain"). Only applicable to HTTP-based resources or resources using virtual networking mode.
Subdomain string `json:"subdomain"`
// Tags is a map of key, value pairs.
Tags Tags `json:"tags"`
}
MCPGatewayOAuthDCR is currently unstable, and its API may change, or it may be removed, without a major version bump.
func (*MCPGatewayOAuthDCR) GetBindInterface ¶ added in v16.20.0
func (m *MCPGatewayOAuthDCR) GetBindInterface() string
GetBindInterface returns the bind interface of the MCPGatewayOAuthDCR.
func (*MCPGatewayOAuthDCR) GetEgressFilter ¶ added in v16.20.0
func (m *MCPGatewayOAuthDCR) GetEgressFilter() string
GetEgressFilter returns the egress filter of the MCPGatewayOAuthDCR.
func (*MCPGatewayOAuthDCR) GetID ¶ added in v16.20.0
func (m *MCPGatewayOAuthDCR) GetID() string
GetID returns the unique identifier of the MCPGatewayOAuthDCR.
func (*MCPGatewayOAuthDCR) GetName ¶ added in v16.20.0
func (m *MCPGatewayOAuthDCR) GetName() string
GetName returns the name of the MCPGatewayOAuthDCR.
func (*MCPGatewayOAuthDCR) GetSecretStoreID ¶ added in v16.20.0
func (m *MCPGatewayOAuthDCR) GetSecretStoreID() string
GetSecretStoreID returns the secret store id of the MCPGatewayOAuthDCR.
func (*MCPGatewayOAuthDCR) GetTags ¶ added in v16.20.0
func (m *MCPGatewayOAuthDCR) GetTags() Tags
GetTags returns the tags of the MCPGatewayOAuthDCR.
func (*MCPGatewayOAuthDCR) SetBindInterface ¶ added in v16.20.0
func (m *MCPGatewayOAuthDCR) SetBindInterface(v string)
SetBindInterface sets the bind interface of the MCPGatewayOAuthDCR.
func (*MCPGatewayOAuthDCR) SetEgressFilter ¶ added in v16.20.0
func (m *MCPGatewayOAuthDCR) SetEgressFilter(v string)
SetEgressFilter sets the egress filter of the MCPGatewayOAuthDCR.
func (*MCPGatewayOAuthDCR) SetName ¶ added in v16.20.0
func (m *MCPGatewayOAuthDCR) SetName(v string)
SetName sets the name of the MCPGatewayOAuthDCR.
func (*MCPGatewayOAuthDCR) SetSecretStoreID ¶ added in v16.20.0
func (m *MCPGatewayOAuthDCR) SetSecretStoreID(v string)
SetSecretStoreID sets the secret store id of the MCPGatewayOAuthDCR.
func (*MCPGatewayOAuthDCR) SetTags ¶ added in v16.20.0
func (m *MCPGatewayOAuthDCR) SetTags(v Tags)
SetTags sets the tags of the MCPGatewayOAuthDCR.
type MCPGatewayPAT ¶ added in v16.16.0
type MCPGatewayPAT struct {
// The bind interface is the IP address to which the port override of a resource is bound (for example, 127.0.0.1). It is automatically generated if not provided and may also be set to one of the ResourceIPAllocationMode constants to select between VNM, loopback, or default allocation.
BindInterface string `json:"bindInterface"`
// A filter applied to the routing logic to pin datasource to nodes.
EgressFilter string `json:"egressFilter"`
// True if the datasource is reachable and the credentials are valid.
Healthy bool `json:"healthy"`
// The host to dial to initiate a connection from the egress node to this resource.
Hostname string `json:"hostname"`
// Unique identifier of the Resource.
ID string `json:"id"`
// Unique human-readable name of the Resource.
Name string `json:"name"`
// The password to authenticate with.
Password string `json:"password"`
// The local port used by clients to connect to this resource. It is automatically generated if not provided on create and may be re-generated on update by specifying a value of -1.
PortOverride int32 `json:"portOverride"`
// ID of the proxy cluster for this resource, if any.
ProxyClusterID string `json:"proxyClusterId"`
// ID of the secret store containing credentials for this resource, if any.
SecretStoreID string `json:"secretStoreId"`
// DNS subdomain through which this resource may be accessed on clients. (e.g. "app-prod1" allows the resource to be accessed at "app-prod1.your-org-name.sdm-proxy-domain"). Only applicable to HTTP-based resources or resources using virtual networking mode.
Subdomain string `json:"subdomain"`
// Tags is a map of key, value pairs.
Tags Tags `json:"tags"`
}
func (*MCPGatewayPAT) GetBindInterface ¶ added in v16.16.0
func (m *MCPGatewayPAT) GetBindInterface() string
GetBindInterface returns the bind interface of the MCPGatewayPAT.
func (*MCPGatewayPAT) GetEgressFilter ¶ added in v16.16.0
func (m *MCPGatewayPAT) GetEgressFilter() string
GetEgressFilter returns the egress filter of the MCPGatewayPAT.
func (*MCPGatewayPAT) GetID ¶ added in v16.16.0
func (m *MCPGatewayPAT) GetID() string
GetID returns the unique identifier of the MCPGatewayPAT.
func (*MCPGatewayPAT) GetName ¶ added in v16.16.0
func (m *MCPGatewayPAT) GetName() string
GetName returns the name of the MCPGatewayPAT.
func (*MCPGatewayPAT) GetSecretStoreID ¶ added in v16.16.0
func (m *MCPGatewayPAT) GetSecretStoreID() string
GetSecretStoreID returns the secret store id of the MCPGatewayPAT.
func (*MCPGatewayPAT) GetTags ¶ added in v16.16.0
func (m *MCPGatewayPAT) GetTags() Tags
GetTags returns the tags of the MCPGatewayPAT.
func (*MCPGatewayPAT) SetBindInterface ¶ added in v16.16.0
func (m *MCPGatewayPAT) SetBindInterface(v string)
SetBindInterface sets the bind interface of the MCPGatewayPAT.
func (*MCPGatewayPAT) SetEgressFilter ¶ added in v16.16.0
func (m *MCPGatewayPAT) SetEgressFilter(v string)
SetEgressFilter sets the egress filter of the MCPGatewayPAT.
func (*MCPGatewayPAT) SetName ¶ added in v16.16.0
func (m *MCPGatewayPAT) SetName(v string)
SetName sets the name of the MCPGatewayPAT.
func (*MCPGatewayPAT) SetSecretStoreID ¶ added in v16.16.0
func (m *MCPGatewayPAT) SetSecretStoreID(v string)
SetSecretStoreID sets the secret store id of the MCPGatewayPAT.
func (*MCPGatewayPAT) SetTags ¶ added in v16.16.0
func (m *MCPGatewayPAT) SetTags(v Tags)
SetTags sets the tags of the MCPGatewayPAT.
type MTLSMysql ¶
type MTLSMysql struct {
// The bind interface is the IP address to which the port override of a resource is bound (for example, 127.0.0.1). It is automatically generated if not provided and may also be set to one of the ResourceIPAllocationMode constants to select between VNM, loopback, or default allocation.
BindInterface string `json:"bindInterface"`
// The CA to authenticate TLS connections with.
CertificateAuthority string `json:"certificateAuthority"`
// The certificate to authenticate TLS connections with.
ClientCertificate string `json:"clientCertificate"`
// The key to authenticate TLS connections with.
ClientKey string `json:"clientKey"`
// The database for healthchecks. Does not affect client requests.
Database string `json:"database"`
// A filter applied to the routing logic to pin datasource to nodes.
EgressFilter string `json:"egressFilter"`
// True if the datasource is reachable and the credentials are valid.
Healthy bool `json:"healthy"`
// The host to dial to initiate a connection from the egress node to this resource.
Hostname string `json:"hostname"`
// Unique identifier of the Resource.
ID string `json:"id"`
// Unique human-readable name of the Resource.
Name string `json:"name"`
// The password to authenticate with.
Password string `json:"password"`
// The port to dial to initiate a connection from the egress node to this resource.
Port int32 `json:"port"`
// The local port used by clients to connect to this resource. It is automatically generated if not provided on create and may be re-generated on update by specifying a value of -1.
PortOverride int32 `json:"portOverride"`
// ID of the proxy cluster for this resource, if any.
ProxyClusterID string `json:"proxyClusterId"`
// Whether native auth (mysql_native_password) is used for all connections (for backwards compatibility)
RequireNativeAuth bool `json:"requireNativeAuth"`
// ID of the secret store containing credentials for this resource, if any.
SecretStoreID string `json:"secretStoreId"`
// Server name for TLS verification (unverified by StrongDM if empty)
ServerName string `json:"serverName"`
// DNS subdomain through which this resource may be accessed on clients. (e.g. "app-prod1" allows the resource to be accessed at "app-prod1.your-org-name.sdm-proxy-domain"). Only applicable to HTTP-based resources or resources using virtual networking mode.
Subdomain string `json:"subdomain"`
// Tags is a map of key, value pairs.
Tags Tags `json:"tags"`
// If true, appends the hostname to the username when hitting a database.azure.com address
UseAzureSingleServerUsernames bool `json:"useAzureSingleServerUsernames"`
// The username to authenticate with.
Username string `json:"username"`
}
func (*MTLSMysql) GetBindInterface ¶
GetBindInterface returns the bind interface of the MTLSMysql.
func (*MTLSMysql) GetEgressFilter ¶
GetEgressFilter returns the egress filter of the MTLSMysql.
func (*MTLSMysql) GetSecretStoreID ¶
GetSecretStoreID returns the secret store id of the MTLSMysql.
func (*MTLSMysql) SetBindInterface ¶
SetBindInterface sets the bind interface of the MTLSMysql.
func (*MTLSMysql) SetEgressFilter ¶
SetEgressFilter sets the egress filter of the MTLSMysql.
func (*MTLSMysql) SetSecretStoreID ¶
SetSecretStoreID sets the secret store id of the MTLSMysql.
type MTLSPostgres ¶
type MTLSPostgres struct {
// The bind interface is the IP address to which the port override of a resource is bound (for example, 127.0.0.1). It is automatically generated if not provided and may also be set to one of the ResourceIPAllocationMode constants to select between VNM, loopback, or default allocation.
BindInterface string `json:"bindInterface"`
// The CA to authenticate TLS connections with.
CertificateAuthority string `json:"certificateAuthority"`
// The certificate to authenticate TLS connections with.
ClientCertificate string `json:"clientCertificate"`
// The key to authenticate TLS connections with.
ClientKey string `json:"clientKey"`
// The initial database to connect to. This setting does not by itself prevent switching to another database after connecting.
Database string `json:"database"`
// A filter applied to the routing logic to pin datasource to nodes.
EgressFilter string `json:"egressFilter"`
// True if the datasource is reachable and the credentials are valid.
Healthy bool `json:"healthy"`
// The host to dial to initiate a connection from the egress node to this resource.
Hostname string `json:"hostname"`
// Unique identifier of the Resource.
ID string `json:"id"`
// Unique human-readable name of the Resource.
Name string `json:"name"`
// If set, the database configured cannot be changed by users. This setting is not recommended for most use cases, as some clients will insist their database has changed when it has not, leading to user confusion.
OverrideDatabase bool `json:"overrideDatabase"`
// The password to authenticate with.
Password string `json:"password"`
// The port to dial to initiate a connection from the egress node to this resource.
Port int32 `json:"port"`
// The local port used by clients to connect to this resource. It is automatically generated if not provided on create and may be re-generated on update by specifying a value of -1.
PortOverride int32 `json:"portOverride"`
// ID of the proxy cluster for this resource, if any.
ProxyClusterID string `json:"proxyClusterId"`
// ID of the secret store containing credentials for this resource, if any.
SecretStoreID string `json:"secretStoreId"`
// Server name for TLS verification (unverified by StrongDM if empty)
ServerName string `json:"serverName"`
// DNS subdomain through which this resource may be accessed on clients. (e.g. "app-prod1" allows the resource to be accessed at "app-prod1.your-org-name.sdm-proxy-domain"). Only applicable to HTTP-based resources or resources using virtual networking mode.
Subdomain string `json:"subdomain"`
// Tags is a map of key, value pairs.
Tags Tags `json:"tags"`
// The username to authenticate with.
Username string `json:"username"`
}
func (*MTLSPostgres) GetBindInterface ¶
func (m *MTLSPostgres) GetBindInterface() string
GetBindInterface returns the bind interface of the MTLSPostgres.
func (*MTLSPostgres) GetEgressFilter ¶
func (m *MTLSPostgres) GetEgressFilter() string
GetEgressFilter returns the egress filter of the MTLSPostgres.
func (*MTLSPostgres) GetID ¶
func (m *MTLSPostgres) GetID() string
GetID returns the unique identifier of the MTLSPostgres.
func (*MTLSPostgres) GetName ¶
func (m *MTLSPostgres) GetName() string
GetName returns the name of the MTLSPostgres.
func (*MTLSPostgres) GetSecretStoreID ¶
func (m *MTLSPostgres) GetSecretStoreID() string
GetSecretStoreID returns the secret store id of the MTLSPostgres.
func (*MTLSPostgres) GetTags ¶
func (m *MTLSPostgres) GetTags() Tags
GetTags returns the tags of the MTLSPostgres.
func (*MTLSPostgres) SetBindInterface ¶
func (m *MTLSPostgres) SetBindInterface(v string)
SetBindInterface sets the bind interface of the MTLSPostgres.
func (*MTLSPostgres) SetEgressFilter ¶
func (m *MTLSPostgres) SetEgressFilter(v string)
SetEgressFilter sets the egress filter of the MTLSPostgres.
func (*MTLSPostgres) SetName ¶
func (m *MTLSPostgres) SetName(v string)
SetName sets the name of the MTLSPostgres.
func (*MTLSPostgres) SetSecretStoreID ¶
func (m *MTLSPostgres) SetSecretStoreID(v string)
SetSecretStoreID sets the secret store id of the MTLSPostgres.
func (*MTLSPostgres) SetTags ¶
func (m *MTLSPostgres) SetTags(v Tags)
SetTags sets the tags of the MTLSPostgres.
type ManagedSecret ¶
type ManagedSecret struct {
// public part of the secret value
Config string `json:"config"`
// Timestamp of when secret is going to be rotated
ExpiresAt time.Time `json:"expiresAt"`
// Unique identifier of the Managed Secret.
ID string `json:"id"`
// Timestamp of when secret was last rotated
LastRotatedAt time.Time `json:"lastRotatedAt"`
// Whether the secret requires a lock to access
LockRequired bool `json:"lockRequired"`
// Unique human-readable name of the Managed Secret.
Name string `json:"name"`
// Password and rotation policy for the secret
Policy *ManagedSecretPolicy `json:"policy"`
// An ID of a Secret Engine linked with the Managed Secret.
SecretEngineID string `json:"secretEngineId"`
// Path in a secret store.
SecretStorePath string `json:"secretStorePath"`
// Tags is a map of key, value pairs.
Tags Tags `json:"tags"`
// Sensitive value of the secret.
Value []byte `json:"value"`
}
ManagedSecret contains details about managed secret
type ManagedSecretCreateRequest ¶
type ManagedSecretCreateRequest struct {
// Parameters to define the new Managed Secret.
ManagedSecret *ManagedSecret `json:"managedSecret"`
}
ManagedSecretCreateRequest specifies a Managed Secret to create.
type ManagedSecretCreateResponse ¶
type ManagedSecretCreateResponse struct {
// The requested Managed Secret.
ManagedSecret *ManagedSecret `json:"managedSecret"`
// Reserved for future use.
Meta *CreateResponseMetadata `json:"meta"`
// Rate limit information.
RateLimit *RateLimitMetadata `json:"rateLimit"`
}
ManagedSecretCreateResponse contains information about a Managed Secret after successful creation.
type ManagedSecretDeleteRequest ¶
type ManagedSecretDeleteRequest struct {
// The unique identifier of the Managed Secret to delete.
ID string `json:"id"`
}
ManagedSecretDeleteRequest specified the ID of a Managed Secret to be deleted.
type ManagedSecretDeleteResponse ¶
type ManagedSecretDeleteResponse struct {
// Rate limit information.
RateLimit *RateLimitMetadata `json:"rateLimit"`
}
ManagedSecretDeleteResponse contains information about a Managed Secret after it was deleted.
type ManagedSecretGetRequest ¶
type ManagedSecretGetRequest struct {
// The unique identifier of the Managed Secret to retrieve.
ID string `json:"id"`
}
ManagedSecretGetRequest specifies which Managed Secret to retrieve
type ManagedSecretGetResponse ¶
type ManagedSecretGetResponse struct {
// The requested Managed Secret.
ManagedSecret *ManagedSecret `json:"managedSecret"`
// Reserved for future use.
Meta *GetResponseMetadata `json:"meta"`
// Rate limit information.
RateLimit *RateLimitMetadata `json:"rateLimit"`
}
ManagedSecretGetResponse contains information about requested Managed Secret
type ManagedSecretIterator ¶
type ManagedSecretIterator interface {
// Next advances the iterator to the next item in the list. It returns
// true if an item is available to retrieve via the `Value()` function.
Next() bool
// Value returns the current item, if one is available.
Value() *ManagedSecret
// Err returns the first error encountered during iteration, if any.
Err() error
}
ManagedSecretIterator provides read access to a list of ManagedSecret. Use it like so:
for iterator.Next() {
managedSecret := iterator.Value()
// ...
}
type ManagedSecretListRequest ¶
type ManagedSecretListRequest struct {
// A human-readable filter query string.
Filter string `json:"filter"`
}
ManagedSecretListRequest specifies criteria for retrieving a list of Managed Secrets.
type ManagedSecretListResponse ¶
type ManagedSecretListResponse struct {
// Rate limit information.
RateLimit *RateLimitMetadata `json:"rateLimit"`
}
ManagedSecretListResponse contains a list of requested Managed Secrets
type ManagedSecretLog ¶
type ManagedSecretLog struct {
// An ID of the account the action was performed by.
AccountID string `json:"accountId"`
// The action performed by the account against the managed secret.
Action string `json:"action"`
// Timestamp of when action was performed.
CreatedAt time.Time `json:"createdAt"`
// Any debug logs associated with the action.
Debug string `json:"debug"`
// Unique identifier of the Managed Secret Log.
ID string `json:"id"`
// An ID of the Managed Secret the action was performed against.
ManagedSecretID string `json:"managedSecretId"`
// An ID of the Secret Engine linked with the Managed Secret.
SecretEngineID string `json:"secretEngineId"`
}
ManagedSecretLog contains details about action performed against a managed secret
type ManagedSecretLogIterator ¶
type ManagedSecretLogIterator interface {
// Next advances the iterator to the next item in the list. It returns
// true if an item is available to retrieve via the `Value()` function.
Next() bool
// Value returns the current item, if one is available.
Value() *ManagedSecretLog
// Err returns the first error encountered during iteration, if any.
Err() error
}
ManagedSecretLogIterator provides read access to a list of ManagedSecretLog. Use it like so:
for iterator.Next() {
managedSecretLog := iterator.Value()
// ...
}
type ManagedSecretLogsRequest ¶
type ManagedSecretLogsRequest struct {
// A human-readable filter query string.
Filter string `json:"filter"`
}
ManagedSecretLogsRequest specifies criteria for retrieving a log of Managed Secrets actions.
type ManagedSecretLogsResponse ¶
type ManagedSecretLogsResponse struct {
// Rate limit information.
RateLimit *RateLimitMetadata `json:"rateLimit"`
}
ManagedSecretLogsResponse contains a list of requested Managed Secrets
type ManagedSecretPasswordPolicy ¶
type ManagedSecretPasswordPolicy struct {
// If set to true allows for consecutive characters to repeat itself
AllowRepeat bool `json:"allowRepeat"`
// Characters to exclude when generating password
ExcludeCharacters string `json:"excludeCharacters"`
// If set to true do not include upper case letters when generating password
ExcludeUpperCase bool `json:"excludeUpperCase"`
// Password length
Length uint32 `json:"length"`
// Numbers of digits to use when generating password
NumDigits uint32 `json:"numDigits"`
// Number of symbols to use when generating password
NumSymbols uint32 `json:"numSymbols"`
}
type ManagedSecretPolicy ¶
type ManagedSecretPolicy struct {
// Password policy for a managed secret
PasswordPolicy *ManagedSecretPasswordPolicy `json:"passwordPolicy"`
// Rotation policy for a managed secret
RotationPolicy *ManagedSecretRotationPolicy `json:"rotationPolicy"`
}
ManagedSecretPolicy contains password and rotation policy for managed secret
type ManagedSecretRetrieveRequest ¶
type ManagedSecretRetrieveRequest struct {
// The unique identifier of the Managed Secret to retrieve.
ID string `json:"id"`
}
ManagedSecretRetrieveRequest specifies which Managed Secret to retrieve
type ManagedSecretRetrieveResponse ¶
type ManagedSecretRetrieveResponse struct {
// The requested Managed Secret.
ManagedSecret *ManagedSecret `json:"managedSecret"`
// Reserved for future use.
Meta *GetResponseMetadata `json:"meta"`
// Rate limit information.
RateLimit *RateLimitMetadata `json:"rateLimit"`
}
ManagedSecretRetrieveResponse contains information about requested Managed Secret
type ManagedSecretRotateRequest ¶
type ManagedSecretRotateRequest struct {
// The unique identifier of the Managed Secret to rotate.
ID string `json:"id"`
}
ManagedSecretRotateRequest specifies Managed Secret to rotate
type ManagedSecretRotateResponse ¶
type ManagedSecretRotateResponse struct {
// Reserved for future use.
Meta *GenericResponseMetadata `json:"meta"`
// Rate limit information.
RateLimit *RateLimitMetadata `json:"rateLimit"`
}
ManagedSecretRotateResponse contains information about Secret Engine after successful rotation.
type ManagedSecretRotationPolicy ¶
type ManagedSecretRotationPolicy struct {
}
type ManagedSecretUpdateRequest ¶
type ManagedSecretUpdateRequest struct {
// Managed Secret to update
ManagedSecret *ManagedSecret `json:"managedSecret"`
}
ManagedSecretUpdateRequest specifies Managed Secret to update
type ManagedSecretUpdateResponse ¶
type ManagedSecretUpdateResponse struct {
// The requested Managed Secret.
ManagedSecret *ManagedSecret `json:"managedSecret"`
// Reserved for future use.
Meta *UpdateResponseMetadata `json:"meta"`
// Rate limit information.
RateLimit *RateLimitMetadata `json:"rateLimit"`
}
ManagedSecretUpdateResponse contains information about Secret Engine after successful update.
type ManagedSecretValidateRequest ¶
type ManagedSecretValidateRequest struct {
// The unique identifier of the Managed Secret to validate.
ID string `json:"id"`
}
ManagedSecretValidateRequest specifies which Managed Secret to validate
type ManagedSecretValidateResponse ¶
type ManagedSecretValidateResponse struct {
// Information about why secret is invalid
InvalidInfo string `json:"invalidInfo"`
// Reserved for future use.
Meta *GetResponseMetadata `json:"meta"`
// Rate limit information.
RateLimit *RateLimitMetadata `json:"rateLimit"`
// Whether the secret is valid
ValID bool `json:"valid"`
}
ManagedSecretValidateResponse contains validity of requested Managed Secret
type ManagedSecrets ¶
type ManagedSecrets struct {
// contains filtered or unexported fields
}
ManagedSecret is a private vertical for creating, reading, updating, deleting, listing and rotating the managed secrets in the secrets engines as an authenticated user.
func (*ManagedSecrets) Create ¶
func (svc *ManagedSecrets) Create( ctx context.Context, managedSecret *ManagedSecret) ( *ManagedSecretCreateResponse, error)
Create creates a Managed Secret
func (*ManagedSecrets) Delete ¶
func (svc *ManagedSecrets) Delete( ctx context.Context, id string) ( *ManagedSecretDeleteResponse, error)
Delete deletes a Managed Secret
func (*ManagedSecrets) ForceDelete ¶
func (svc *ManagedSecrets) ForceDelete( ctx context.Context, id string) ( *ManagedSecretDeleteResponse, error)
ForceDelete deletes a Managed Secret regardless of errors on external system
func (*ManagedSecrets) Get ¶
func (svc *ManagedSecrets) Get( ctx context.Context, id string) ( *ManagedSecretGetResponse, error)
Get gets details of a Managed Secret without sensitive data
func (*ManagedSecrets) List ¶
func (svc *ManagedSecrets) List( ctx context.Context, filter string, args ...interface{}) ( ManagedSecretIterator, error)
List returns Managed Secrets from a Secret Engine.
func (*ManagedSecrets) ListByActor ¶
func (svc *ManagedSecrets) ListByActor( ctx context.Context, filter string, args ...interface{}) ( ManagedSecretIterator, error)
List returns Managed Secrets for an Actor from a Secret Engine.
func (*ManagedSecrets) Logs ¶
func (svc *ManagedSecrets) Logs( ctx context.Context, filter string, args ...interface{}) ( ManagedSecretLogIterator, error)
Logs returns the audit records for the managed secret. This may be replaced in the future.
func (*ManagedSecrets) Retrieve ¶
func (svc *ManagedSecrets) Retrieve( ctx context.Context, id string) ( *ManagedSecretRetrieveResponse, error)
Retrieve returns Managed Secret with sensitive data
func (*ManagedSecrets) Rotate ¶
func (svc *ManagedSecrets) Rotate( ctx context.Context, id string) ( *ManagedSecretRotateResponse, error)
Rotate forces rotation of Managed Secret
func (*ManagedSecrets) Update ¶
func (svc *ManagedSecrets) Update( ctx context.Context, managedSecret *ManagedSecret) ( *ManagedSecretUpdateResponse, error)
Update updates a Managed Secret
func (*ManagedSecrets) Validate ¶
func (svc *ManagedSecrets) Validate( ctx context.Context, id string) ( *ManagedSecretValidateResponse, error)
Validate returns the result of testing the stored credential against the secret engine.
type MappedIdentities ¶ added in v16.13.0
type MappedIdentities struct {
// Kubernetes group memberships.
Kubernetes *GrantedEntitlementKubernetesPrivileges `json:"kubernetes"`
}
MappedIdentities represents the mapped identity privileges granted alongside an entitlement.
type Maria ¶
type Maria struct {
// The bind interface is the IP address to which the port override of a resource is bound (for example, 127.0.0.1). It is automatically generated if not provided and may also be set to one of the ResourceIPAllocationMode constants to select between VNM, loopback, or default allocation.
BindInterface string `json:"bindInterface"`
// The database for healthchecks. Does not affect client requests.
Database string `json:"database"`
// A filter applied to the routing logic to pin datasource to nodes.
EgressFilter string `json:"egressFilter"`
// True if the datasource is reachable and the credentials are valid.
Healthy bool `json:"healthy"`
// The host to dial to initiate a connection from the egress node to this resource.
Hostname string `json:"hostname"`
// Unique identifier of the Resource.
ID string `json:"id"`
// Unique human-readable name of the Resource.
Name string `json:"name"`
// The password to authenticate with.
Password string `json:"password"`
// The port to dial to initiate a connection from the egress node to this resource.
Port int32 `json:"port"`
// The local port used by clients to connect to this resource. It is automatically generated if not provided on create and may be re-generated on update by specifying a value of -1.
PortOverride int32 `json:"portOverride"`
// ID of the proxy cluster for this resource, if any.
ProxyClusterID string `json:"proxyClusterId"`
// Whether native auth (mysql_native_password) is used for all connections (for backwards compatibility)
RequireNativeAuth bool `json:"requireNativeAuth"`
// ID of the secret store containing credentials for this resource, if any.
SecretStoreID string `json:"secretStoreId"`
// DNS subdomain through which this resource may be accessed on clients. (e.g. "app-prod1" allows the resource to be accessed at "app-prod1.your-org-name.sdm-proxy-domain"). Only applicable to HTTP-based resources or resources using virtual networking mode.
Subdomain string `json:"subdomain"`
// Tags is a map of key, value pairs.
Tags Tags `json:"tags"`
// If true, appends the hostname to the username when hitting a database.azure.com address
UseAzureSingleServerUsernames bool `json:"useAzureSingleServerUsernames"`
// The username to authenticate with.
Username string `json:"username"`
}
func (*Maria) GetBindInterface ¶
GetBindInterface returns the bind interface of the Maria.
func (*Maria) GetEgressFilter ¶
GetEgressFilter returns the egress filter of the Maria.
func (*Maria) GetSecretStoreID ¶
GetSecretStoreID returns the secret store id of the Maria.
func (*Maria) SetBindInterface ¶
SetBindInterface sets the bind interface of the Maria.
func (*Maria) SetEgressFilter ¶
SetEgressFilter sets the egress filter of the Maria.
func (*Maria) SetSecretStoreID ¶
SetSecretStoreID sets the secret store id of the Maria.
type Memcached ¶
type Memcached struct {
// The bind interface is the IP address to which the port override of a resource is bound (for example, 127.0.0.1). It is automatically generated if not provided and may also be set to one of the ResourceIPAllocationMode constants to select between VNM, loopback, or default allocation.
BindInterface string `json:"bindInterface"`
// A filter applied to the routing logic to pin datasource to nodes.
EgressFilter string `json:"egressFilter"`
// True if the datasource is reachable and the credentials are valid.
Healthy bool `json:"healthy"`
// The host to dial to initiate a connection from the egress node to this resource.
Hostname string `json:"hostname"`
// Unique identifier of the Resource.
ID string `json:"id"`
// Unique human-readable name of the Resource.
Name string `json:"name"`
// The port to dial to initiate a connection from the egress node to this resource.
Port int32 `json:"port"`
// The local port used by clients to connect to this resource. It is automatically generated if not provided on create and may be re-generated on update by specifying a value of -1.
PortOverride int32 `json:"portOverride"`
// ID of the proxy cluster for this resource, if any.
ProxyClusterID string `json:"proxyClusterId"`
// ID of the secret store containing credentials for this resource, if any.
SecretStoreID string `json:"secretStoreId"`
// DNS subdomain through which this resource may be accessed on clients. (e.g. "app-prod1" allows the resource to be accessed at "app-prod1.your-org-name.sdm-proxy-domain"). Only applicable to HTTP-based resources or resources using virtual networking mode.
Subdomain string `json:"subdomain"`
// Tags is a map of key, value pairs.
Tags Tags `json:"tags"`
}
func (*Memcached) GetBindInterface ¶
GetBindInterface returns the bind interface of the Memcached.
func (*Memcached) GetEgressFilter ¶
GetEgressFilter returns the egress filter of the Memcached.
func (*Memcached) GetSecretStoreID ¶
GetSecretStoreID returns the secret store id of the Memcached.
func (*Memcached) SetBindInterface ¶
SetBindInterface sets the bind interface of the Memcached.
func (*Memcached) SetEgressFilter ¶
SetEgressFilter sets the egress filter of the Memcached.
func (*Memcached) SetSecretStoreID ¶
SetSecretStoreID sets the secret store id of the Memcached.
type Memsql ¶
type Memsql struct {
// The bind interface is the IP address to which the port override of a resource is bound (for example, 127.0.0.1). It is automatically generated if not provided and may also be set to one of the ResourceIPAllocationMode constants to select between VNM, loopback, or default allocation.
BindInterface string `json:"bindInterface"`
// The database for healthchecks. Does not affect client requests.
Database string `json:"database"`
// A filter applied to the routing logic to pin datasource to nodes.
EgressFilter string `json:"egressFilter"`
// True if the datasource is reachable and the credentials are valid.
Healthy bool `json:"healthy"`
// The host to dial to initiate a connection from the egress node to this resource.
Hostname string `json:"hostname"`
// Unique identifier of the Resource.
ID string `json:"id"`
// Unique human-readable name of the Resource.
Name string `json:"name"`
// The password to authenticate with.
Password string `json:"password"`
// The port to dial to initiate a connection from the egress node to this resource.
Port int32 `json:"port"`
// The local port used by clients to connect to this resource. It is automatically generated if not provided on create and may be re-generated on update by specifying a value of -1.
PortOverride int32 `json:"portOverride"`
// ID of the proxy cluster for this resource, if any.
ProxyClusterID string `json:"proxyClusterId"`
// Whether native auth (mysql_native_password) is used for all connections (for backwards compatibility)
RequireNativeAuth bool `json:"requireNativeAuth"`
// ID of the secret store containing credentials for this resource, if any.
SecretStoreID string `json:"secretStoreId"`
// DNS subdomain through which this resource may be accessed on clients. (e.g. "app-prod1" allows the resource to be accessed at "app-prod1.your-org-name.sdm-proxy-domain"). Only applicable to HTTP-based resources or resources using virtual networking mode.
Subdomain string `json:"subdomain"`
// Tags is a map of key, value pairs.
Tags Tags `json:"tags"`
// If true, appends the hostname to the username when hitting a database.azure.com address
UseAzureSingleServerUsernames bool `json:"useAzureSingleServerUsernames"`
// The username to authenticate with.
Username string `json:"username"`
}
func (*Memsql) GetBindInterface ¶
GetBindInterface returns the bind interface of the Memsql.
func (*Memsql) GetEgressFilter ¶
GetEgressFilter returns the egress filter of the Memsql.
func (*Memsql) GetSecretStoreID ¶
GetSecretStoreID returns the secret store id of the Memsql.
func (*Memsql) SetBindInterface ¶
SetBindInterface sets the bind interface of the Memsql.
func (*Memsql) SetEgressFilter ¶
SetEgressFilter sets the egress filter of the Memsql.
func (*Memsql) SetSecretStoreID ¶
SetSecretStoreID sets the secret store id of the Memsql.
type MongoHost ¶
type MongoHost struct {
// The authentication database to use.
AuthDatabase string `json:"authDatabase"`
// The bind interface is the IP address to which the port override of a resource is bound (for example, 127.0.0.1). It is automatically generated if not provided and may also be set to one of the ResourceIPAllocationMode constants to select between VNM, loopback, or default allocation.
BindInterface string `json:"bindInterface"`
// A filter applied to the routing logic to pin datasource to nodes.
EgressFilter string `json:"egressFilter"`
// True if the datasource is reachable and the credentials are valid.
Healthy bool `json:"healthy"`
// The host to dial to initiate a connection from the egress node to this resource.
Hostname string `json:"hostname"`
// Unique identifier of the Resource.
ID string `json:"id"`
// Unique human-readable name of the Resource.
Name string `json:"name"`
// The password to authenticate with.
Password string `json:"password"`
// The port to dial to initiate a connection from the egress node to this resource.
Port int32 `json:"port"`
// The local port used by clients to connect to this resource. It is automatically generated if not provided on create and may be re-generated on update by specifying a value of -1.
PortOverride int32 `json:"portOverride"`
// ID of the proxy cluster for this resource, if any.
ProxyClusterID string `json:"proxyClusterId"`
// ID of the secret store containing credentials for this resource, if any.
SecretStoreID string `json:"secretStoreId"`
// DNS subdomain through which this resource may be accessed on clients. (e.g. "app-prod1" allows the resource to be accessed at "app-prod1.your-org-name.sdm-proxy-domain"). Only applicable to HTTP-based resources or resources using virtual networking mode.
Subdomain string `json:"subdomain"`
// Tags is a map of key, value pairs.
Tags Tags `json:"tags"`
// If set, TLS must be used to connect to this resource.
TlsRequired bool `json:"tlsRequired"`
// The username to authenticate with.
Username string `json:"username"`
}
func (*MongoHost) GetBindInterface ¶
GetBindInterface returns the bind interface of the MongoHost.
func (*MongoHost) GetEgressFilter ¶
GetEgressFilter returns the egress filter of the MongoHost.
func (*MongoHost) GetSecretStoreID ¶
GetSecretStoreID returns the secret store id of the MongoHost.
func (*MongoHost) SetBindInterface ¶
SetBindInterface sets the bind interface of the MongoHost.
func (*MongoHost) SetEgressFilter ¶
SetEgressFilter sets the egress filter of the MongoHost.
func (*MongoHost) SetSecretStoreID ¶
SetSecretStoreID sets the secret store id of the MongoHost.
type MongoLegacyHost ¶
type MongoLegacyHost struct {
// The authentication database to use.
AuthDatabase string `json:"authDatabase"`
// The bind interface is the IP address to which the port override of a resource is bound (for example, 127.0.0.1). It is automatically generated if not provided and may also be set to one of the ResourceIPAllocationMode constants to select between VNM, loopback, or default allocation.
BindInterface string `json:"bindInterface"`
// A filter applied to the routing logic to pin datasource to nodes.
EgressFilter string `json:"egressFilter"`
// True if the datasource is reachable and the credentials are valid.
Healthy bool `json:"healthy"`
// The host to dial to initiate a connection from the egress node to this resource.
Hostname string `json:"hostname"`
// Unique identifier of the Resource.
ID string `json:"id"`
// Unique human-readable name of the Resource.
Name string `json:"name"`
// The password to authenticate with.
Password string `json:"password"`
// The port to dial to initiate a connection from the egress node to this resource.
Port int32 `json:"port"`
// The local port used by clients to connect to this resource. It is automatically generated if not provided on create and may be re-generated on update by specifying a value of -1.
PortOverride int32 `json:"portOverride"`
// ID of the proxy cluster for this resource, if any.
ProxyClusterID string `json:"proxyClusterId"`
// ID of the secret store containing credentials for this resource, if any.
SecretStoreID string `json:"secretStoreId"`
// DNS subdomain through which this resource may be accessed on clients. (e.g. "app-prod1" allows the resource to be accessed at "app-prod1.your-org-name.sdm-proxy-domain"). Only applicable to HTTP-based resources or resources using virtual networking mode.
Subdomain string `json:"subdomain"`
// Tags is a map of key, value pairs.
Tags Tags `json:"tags"`
// If set, TLS must be used to connect to this resource.
TlsRequired bool `json:"tlsRequired"`
// The username to authenticate with.
Username string `json:"username"`
}
MongoLegacyHost is currently unstable, and its API may change, or it may be removed, without a major version bump.
func (*MongoLegacyHost) GetBindInterface ¶
func (m *MongoLegacyHost) GetBindInterface() string
GetBindInterface returns the bind interface of the MongoLegacyHost.
func (*MongoLegacyHost) GetEgressFilter ¶
func (m *MongoLegacyHost) GetEgressFilter() string
GetEgressFilter returns the egress filter of the MongoLegacyHost.
func (*MongoLegacyHost) GetID ¶
func (m *MongoLegacyHost) GetID() string
GetID returns the unique identifier of the MongoLegacyHost.
func (*MongoLegacyHost) GetName ¶
func (m *MongoLegacyHost) GetName() string
GetName returns the name of the MongoLegacyHost.
func (*MongoLegacyHost) GetSecretStoreID ¶
func (m *MongoLegacyHost) GetSecretStoreID() string
GetSecretStoreID returns the secret store id of the MongoLegacyHost.
func (*MongoLegacyHost) GetTags ¶
func (m *MongoLegacyHost) GetTags() Tags
GetTags returns the tags of the MongoLegacyHost.
func (*MongoLegacyHost) SetBindInterface ¶
func (m *MongoLegacyHost) SetBindInterface(v string)
SetBindInterface sets the bind interface of the MongoLegacyHost.
func (*MongoLegacyHost) SetEgressFilter ¶
func (m *MongoLegacyHost) SetEgressFilter(v string)
SetEgressFilter sets the egress filter of the MongoLegacyHost.
func (*MongoLegacyHost) SetName ¶
func (m *MongoLegacyHost) SetName(v string)
SetName sets the name of the MongoLegacyHost.
func (*MongoLegacyHost) SetSecretStoreID ¶
func (m *MongoLegacyHost) SetSecretStoreID(v string)
SetSecretStoreID sets the secret store id of the MongoLegacyHost.
func (*MongoLegacyHost) SetTags ¶
func (m *MongoLegacyHost) SetTags(v Tags)
SetTags sets the tags of the MongoLegacyHost.
type MongoLegacyReplicaset ¶
type MongoLegacyReplicaset struct {
// The authentication database to use.
AuthDatabase string `json:"authDatabase"`
// The bind interface is the IP address to which the port override of a resource is bound (for example, 127.0.0.1). It is automatically generated if not provided and may also be set to one of the ResourceIPAllocationMode constants to select between VNM, loopback, or default allocation.
BindInterface string `json:"bindInterface"`
// Set to connect to a replica instead of the primary node.
ConnectToReplica bool `json:"connectToReplica"`
// A filter applied to the routing logic to pin datasource to nodes.
EgressFilter string `json:"egressFilter"`
// True if the datasource is reachable and the credentials are valid.
Healthy bool `json:"healthy"`
// The host to dial to initiate a connection from the egress node to this resource.
Hostname string `json:"hostname"`
// Unique identifier of the Resource.
ID string `json:"id"`
// Unique human-readable name of the Resource.
Name string `json:"name"`
// The password to authenticate with.
Password string `json:"password"`
// The port to dial to initiate a connection from the egress node to this resource.
Port int32 `json:"port"`
// The local port used by clients to connect to this resource. It is automatically generated if not provided on create and may be re-generated on update by specifying a value of -1.
PortOverride int32 `json:"portOverride"`
// ID of the proxy cluster for this resource, if any.
ProxyClusterID string `json:"proxyClusterId"`
// ID of the secret store containing credentials for this resource, if any.
SecretStoreID string `json:"secretStoreId"`
// DNS subdomain through which this resource may be accessed on clients. (e.g. "app-prod1" allows the resource to be accessed at "app-prod1.your-org-name.sdm-proxy-domain"). Only applicable to HTTP-based resources or resources using virtual networking mode.
Subdomain string `json:"subdomain"`
// Tags is a map of key, value pairs.
Tags Tags `json:"tags"`
// If set, TLS must be used to connect to this resource.
TlsRequired bool `json:"tlsRequired"`
// The username to authenticate with.
Username string `json:"username"`
}
MongoLegacyReplicaset is currently unstable, and its API may change, or it may be removed, without a major version bump.
func (*MongoLegacyReplicaset) GetBindInterface ¶
func (m *MongoLegacyReplicaset) GetBindInterface() string
GetBindInterface returns the bind interface of the MongoLegacyReplicaset.
func (*MongoLegacyReplicaset) GetEgressFilter ¶
func (m *MongoLegacyReplicaset) GetEgressFilter() string
GetEgressFilter returns the egress filter of the MongoLegacyReplicaset.
func (*MongoLegacyReplicaset) GetID ¶
func (m *MongoLegacyReplicaset) GetID() string
GetID returns the unique identifier of the MongoLegacyReplicaset.
func (*MongoLegacyReplicaset) GetName ¶
func (m *MongoLegacyReplicaset) GetName() string
GetName returns the name of the MongoLegacyReplicaset.
func (*MongoLegacyReplicaset) GetSecretStoreID ¶
func (m *MongoLegacyReplicaset) GetSecretStoreID() string
GetSecretStoreID returns the secret store id of the MongoLegacyReplicaset.
func (*MongoLegacyReplicaset) GetTags ¶
func (m *MongoLegacyReplicaset) GetTags() Tags
GetTags returns the tags of the MongoLegacyReplicaset.
func (*MongoLegacyReplicaset) SetBindInterface ¶
func (m *MongoLegacyReplicaset) SetBindInterface(v string)
SetBindInterface sets the bind interface of the MongoLegacyReplicaset.
func (*MongoLegacyReplicaset) SetEgressFilter ¶
func (m *MongoLegacyReplicaset) SetEgressFilter(v string)
SetEgressFilter sets the egress filter of the MongoLegacyReplicaset.
func (*MongoLegacyReplicaset) SetName ¶
func (m *MongoLegacyReplicaset) SetName(v string)
SetName sets the name of the MongoLegacyReplicaset.
func (*MongoLegacyReplicaset) SetSecretStoreID ¶
func (m *MongoLegacyReplicaset) SetSecretStoreID(v string)
SetSecretStoreID sets the secret store id of the MongoLegacyReplicaset.
func (*MongoLegacyReplicaset) SetTags ¶
func (m *MongoLegacyReplicaset) SetTags(v Tags)
SetTags sets the tags of the MongoLegacyReplicaset.
type MongoReplicaSet ¶
type MongoReplicaSet struct {
// The authentication database to use.
AuthDatabase string `json:"authDatabase"`
// The bind interface is the IP address to which the port override of a resource is bound (for example, 127.0.0.1). It is automatically generated if not provided and may also be set to one of the ResourceIPAllocationMode constants to select between VNM, loopback, or default allocation.
BindInterface string `json:"bindInterface"`
// Set to connect to a replica instead of the primary node.
ConnectToReplica bool `json:"connectToReplica"`
// A filter applied to the routing logic to pin datasource to nodes.
EgressFilter string `json:"egressFilter"`
// True if the datasource is reachable and the credentials are valid.
Healthy bool `json:"healthy"`
// The host to dial to initiate a connection from the egress node to this resource.
Hostname string `json:"hostname"`
// Unique identifier of the Resource.
ID string `json:"id"`
// Unique human-readable name of the Resource.
Name string `json:"name"`
// The password to authenticate with.
Password string `json:"password"`
// The port to dial to initiate a connection from the egress node to this resource.
Port int32 `json:"port"`
// The local port used by clients to connect to this resource. It is automatically generated if not provided on create and may be re-generated on update by specifying a value of -1.
PortOverride int32 `json:"portOverride"`
// ID of the proxy cluster for this resource, if any.
ProxyClusterID string `json:"proxyClusterId"`
// ID of the secret store containing credentials for this resource, if any.
SecretStoreID string `json:"secretStoreId"`
// DNS subdomain through which this resource may be accessed on clients. (e.g. "app-prod1" allows the resource to be accessed at "app-prod1.your-org-name.sdm-proxy-domain"). Only applicable to HTTP-based resources or resources using virtual networking mode.
Subdomain string `json:"subdomain"`
// Tags is a map of key, value pairs.
Tags Tags `json:"tags"`
// If set, TLS must be used to connect to this resource.
TlsRequired bool `json:"tlsRequired"`
// The username to authenticate with.
Username string `json:"username"`
}
func (*MongoReplicaSet) GetBindInterface ¶
func (m *MongoReplicaSet) GetBindInterface() string
GetBindInterface returns the bind interface of the MongoReplicaSet.
func (*MongoReplicaSet) GetEgressFilter ¶
func (m *MongoReplicaSet) GetEgressFilter() string
GetEgressFilter returns the egress filter of the MongoReplicaSet.
func (*MongoReplicaSet) GetID ¶
func (m *MongoReplicaSet) GetID() string
GetID returns the unique identifier of the MongoReplicaSet.
func (*MongoReplicaSet) GetName ¶
func (m *MongoReplicaSet) GetName() string
GetName returns the name of the MongoReplicaSet.
func (*MongoReplicaSet) GetSecretStoreID ¶
func (m *MongoReplicaSet) GetSecretStoreID() string
GetSecretStoreID returns the secret store id of the MongoReplicaSet.
func (*MongoReplicaSet) GetTags ¶
func (m *MongoReplicaSet) GetTags() Tags
GetTags returns the tags of the MongoReplicaSet.
func (*MongoReplicaSet) SetBindInterface ¶
func (m *MongoReplicaSet) SetBindInterface(v string)
SetBindInterface sets the bind interface of the MongoReplicaSet.
func (*MongoReplicaSet) SetEgressFilter ¶
func (m *MongoReplicaSet) SetEgressFilter(v string)
SetEgressFilter sets the egress filter of the MongoReplicaSet.
func (*MongoReplicaSet) SetName ¶
func (m *MongoReplicaSet) SetName(v string)
SetName sets the name of the MongoReplicaSet.
func (*MongoReplicaSet) SetSecretStoreID ¶
func (m *MongoReplicaSet) SetSecretStoreID(v string)
SetSecretStoreID sets the secret store id of the MongoReplicaSet.
func (*MongoReplicaSet) SetTags ¶
func (m *MongoReplicaSet) SetTags(v Tags)
SetTags sets the tags of the MongoReplicaSet.
type MongoShardedCluster ¶
type MongoShardedCluster struct {
// The authentication database to use.
AuthDatabase string `json:"authDatabase"`
// The bind interface is the IP address to which the port override of a resource is bound (for example, 127.0.0.1). It is automatically generated if not provided and may also be set to one of the ResourceIPAllocationMode constants to select between VNM, loopback, or default allocation.
BindInterface string `json:"bindInterface"`
// A filter applied to the routing logic to pin datasource to nodes.
EgressFilter string `json:"egressFilter"`
// True if the datasource is reachable and the credentials are valid.
Healthy bool `json:"healthy"`
// The host to dial to initiate a connection from the egress node to this resource.
Hostname string `json:"hostname"`
// Unique identifier of the Resource.
ID string `json:"id"`
// Unique human-readable name of the Resource.
Name string `json:"name"`
// The password to authenticate with.
Password string `json:"password"`
// The local port used by clients to connect to this resource. It is automatically generated if not provided on create and may be re-generated on update by specifying a value of -1.
PortOverride int32 `json:"portOverride"`
// ID of the proxy cluster for this resource, if any.
ProxyClusterID string `json:"proxyClusterId"`
// ID of the secret store containing credentials for this resource, if any.
SecretStoreID string `json:"secretStoreId"`
// DNS subdomain through which this resource may be accessed on clients. (e.g. "app-prod1" allows the resource to be accessed at "app-prod1.your-org-name.sdm-proxy-domain"). Only applicable to HTTP-based resources or resources using virtual networking mode.
Subdomain string `json:"subdomain"`
// Tags is a map of key, value pairs.
Tags Tags `json:"tags"`
// If set, TLS must be used to connect to this resource.
TlsRequired bool `json:"tlsRequired"`
// The username to authenticate with.
Username string `json:"username"`
}
func (*MongoShardedCluster) GetBindInterface ¶
func (m *MongoShardedCluster) GetBindInterface() string
GetBindInterface returns the bind interface of the MongoShardedCluster.
func (*MongoShardedCluster) GetEgressFilter ¶
func (m *MongoShardedCluster) GetEgressFilter() string
GetEgressFilter returns the egress filter of the MongoShardedCluster.
func (*MongoShardedCluster) GetID ¶
func (m *MongoShardedCluster) GetID() string
GetID returns the unique identifier of the MongoShardedCluster.
func (*MongoShardedCluster) GetName ¶
func (m *MongoShardedCluster) GetName() string
GetName returns the name of the MongoShardedCluster.
func (*MongoShardedCluster) GetSecretStoreID ¶
func (m *MongoShardedCluster) GetSecretStoreID() string
GetSecretStoreID returns the secret store id of the MongoShardedCluster.
func (*MongoShardedCluster) GetTags ¶
func (m *MongoShardedCluster) GetTags() Tags
GetTags returns the tags of the MongoShardedCluster.
func (*MongoShardedCluster) SetBindInterface ¶
func (m *MongoShardedCluster) SetBindInterface(v string)
SetBindInterface sets the bind interface of the MongoShardedCluster.
func (*MongoShardedCluster) SetEgressFilter ¶
func (m *MongoShardedCluster) SetEgressFilter(v string)
SetEgressFilter sets the egress filter of the MongoShardedCluster.
func (*MongoShardedCluster) SetName ¶
func (m *MongoShardedCluster) SetName(v string)
SetName sets the name of the MongoShardedCluster.
func (*MongoShardedCluster) SetSecretStoreID ¶
func (m *MongoShardedCluster) SetSecretStoreID(v string)
SetSecretStoreID sets the secret store id of the MongoShardedCluster.
func (*MongoShardedCluster) SetTags ¶
func (m *MongoShardedCluster) SetTags(v Tags)
SetTags sets the tags of the MongoShardedCluster.
type Mysql ¶
type Mysql struct {
// The bind interface is the IP address to which the port override of a resource is bound (for example, 127.0.0.1). It is automatically generated if not provided and may also be set to one of the ResourceIPAllocationMode constants to select between VNM, loopback, or default allocation.
BindInterface string `json:"bindInterface"`
// The database for healthchecks. Does not affect client requests.
Database string `json:"database"`
// A filter applied to the routing logic to pin datasource to nodes.
EgressFilter string `json:"egressFilter"`
// True if the datasource is reachable and the credentials are valid.
Healthy bool `json:"healthy"`
// The host to dial to initiate a connection from the egress node to this resource.
Hostname string `json:"hostname"`
// Unique identifier of the Resource.
ID string `json:"id"`
// Unique human-readable name of the Resource.
Name string `json:"name"`
// The password to authenticate with.
Password string `json:"password"`
// The port to dial to initiate a connection from the egress node to this resource.
Port int32 `json:"port"`
// The local port used by clients to connect to this resource. It is automatically generated if not provided on create and may be re-generated on update by specifying a value of -1.
PortOverride int32 `json:"portOverride"`
// ID of the proxy cluster for this resource, if any.
ProxyClusterID string `json:"proxyClusterId"`
// Whether native auth (mysql_native_password) is used for all connections (for backwards compatibility)
RequireNativeAuth bool `json:"requireNativeAuth"`
// ID of the secret store containing credentials for this resource, if any.
SecretStoreID string `json:"secretStoreId"`
// DNS subdomain through which this resource may be accessed on clients. (e.g. "app-prod1" allows the resource to be accessed at "app-prod1.your-org-name.sdm-proxy-domain"). Only applicable to HTTP-based resources or resources using virtual networking mode.
Subdomain string `json:"subdomain"`
// Tags is a map of key, value pairs.
Tags Tags `json:"tags"`
// If true, appends the hostname to the username when hitting a database.azure.com address
UseAzureSingleServerUsernames bool `json:"useAzureSingleServerUsernames"`
// The username to authenticate with.
Username string `json:"username"`
}
func (*Mysql) GetBindInterface ¶
GetBindInterface returns the bind interface of the Mysql.
func (*Mysql) GetEgressFilter ¶
GetEgressFilter returns the egress filter of the Mysql.
func (*Mysql) GetSecretStoreID ¶
GetSecretStoreID returns the secret store id of the Mysql.
func (*Mysql) SetBindInterface ¶
SetBindInterface sets the bind interface of the Mysql.
func (*Mysql) SetEgressFilter ¶
SetEgressFilter sets the egress filter of the Mysql.
func (*Mysql) SetSecretStoreID ¶
SetSecretStoreID sets the secret store id of the Mysql.
type MysqlEngine ¶
type MysqlEngine struct {
// The default time-to-live duration of the password after it's read. Once the ttl has passed, a password will be rotated.
AfterReadTtl time.Duration `json:"afterReadTtl"`
// Database is the database to verify credential against.
Database string `json:"database"`
// Hostname is the hostname or IP address of the MySQL server.
Hostname string `json:"hostname"`
// Unique identifier of the Secret Engine.
ID string `json:"id"`
// An interval of public/private key rotation for secret engine in days
KeyRotationIntervalDays int32 `json:"keyRotationIntervalDays"`
// Unique human-readable name of the Secret Engine.
Name string `json:"name"`
// node selector is used to narrow down the nodes used to communicate with with secret engine
NodeSelector string `json:"nodeSelector"`
// Password is the password to connect to the MySQL server.
Password string `json:"password"`
// Policy for password creation
Policy *SecretEnginePolicy `json:"policy"`
// Port is the port number of the MySQL server.
Port uint32 `json:"port"`
// Public key linked with a secret engine
PublicKey []byte `json:"publicKey"`
// Backing secret store identifier
SecretStoreID string `json:"secretStoreId"`
// Backing Secret Store root path where managed secrets are going to be stored
SecretStoreRootPath string `json:"secretStoreRootPath"`
// Tags is a map of key, value pairs.
Tags Tags `json:"tags"`
// TLS enables TLS/SSL when connecting to the MySQL server.
Tls bool `json:"tls"`
// TLS disable certificate verification
TlsSkipVerify bool `json:"tlsSkipVerify"`
// The default password time-to-live duration. Once the ttl has passed, a password will be rotated the next time it's requested.
Ttl time.Duration `json:"ttl"`
// Username is the username to connect to the MySQL server.
Username string `json:"username"`
}
func (*MysqlEngine) GetID ¶
func (m *MysqlEngine) GetID() string
GetID returns the unique identifier of the MysqlEngine.
func (*MysqlEngine) GetKeyRotationIntervalDays ¶ added in v16.6.0
func (m *MysqlEngine) GetKeyRotationIntervalDays() int32
GetKeyRotationIntervalDays returns the key rotation interval days of the MysqlEngine.
func (*MysqlEngine) GetName ¶
func (m *MysqlEngine) GetName() string
GetName returns the name of the MysqlEngine.
func (*MysqlEngine) GetNodeSelector ¶ added in v16.6.0
func (m *MysqlEngine) GetNodeSelector() string
GetNodeSelector returns the node selector of the MysqlEngine.
func (*MysqlEngine) GetPublicKey ¶
func (m *MysqlEngine) GetPublicKey() []byte
GetPublicKey returns the public key of the MysqlEngine.
func (*MysqlEngine) GetSecretStoreID ¶
func (m *MysqlEngine) GetSecretStoreID() string
GetSecretStoreID returns the secret store id of the MysqlEngine.
func (*MysqlEngine) GetSecretStoreRootPath ¶
func (m *MysqlEngine) GetSecretStoreRootPath() string
GetSecretStoreRootPath returns the secret store root path of the MysqlEngine.
func (*MysqlEngine) GetTags ¶
func (m *MysqlEngine) GetTags() Tags
GetTags returns the tags of the MysqlEngine.
func (*MysqlEngine) SetKeyRotationIntervalDays ¶ added in v16.6.0
func (m *MysqlEngine) SetKeyRotationIntervalDays(v int32)
SetKeyRotationIntervalDays sets the key rotation interval days of the MysqlEngine.
func (*MysqlEngine) SetName ¶
func (m *MysqlEngine) SetName(v string)
SetName sets the name of the MysqlEngine.
func (*MysqlEngine) SetNodeSelector ¶ added in v16.6.0
func (m *MysqlEngine) SetNodeSelector(v string)
SetNodeSelector sets the node selector of the MysqlEngine.
func (*MysqlEngine) SetPublicKey ¶
func (m *MysqlEngine) SetPublicKey(v []byte)
SetPublicKey sets the public key of the MysqlEngine.
func (*MysqlEngine) SetSecretStoreID ¶
func (m *MysqlEngine) SetSecretStoreID(v string)
SetSecretStoreID sets the secret store id of the MysqlEngine.
func (*MysqlEngine) SetSecretStoreRootPath ¶
func (m *MysqlEngine) SetSecretStoreRootPath(v string)
SetSecretStoreRootPath sets the secret store root path of the MysqlEngine.
func (*MysqlEngine) SetTags ¶
func (m *MysqlEngine) SetTags(v Tags)
SetTags sets the tags of the MysqlEngine.
type Neptune ¶
type Neptune struct {
// The bind interface is the IP address to which the port override of a resource is bound (for example, 127.0.0.1). It is automatically generated if not provided and may also be set to one of the ResourceIPAllocationMode constants to select between VNM, loopback, or default allocation.
BindInterface string `json:"bindInterface"`
// A filter applied to the routing logic to pin datasource to nodes.
EgressFilter string `json:"egressFilter"`
// The neptune endpoint to connect to as in endpoint.region.neptune.amazonaws.com
Endpoint string `json:"endpoint"`
// True if the datasource is reachable and the credentials are valid.
Healthy bool `json:"healthy"`
// Unique identifier of the Resource.
ID string `json:"id"`
// Unique human-readable name of the Resource.
Name string `json:"name"`
// The port to dial to initiate a connection from the egress node to this resource.
Port int32 `json:"port"`
// The local port used by clients to connect to this resource. It is automatically generated if not provided on create and may be re-generated on update by specifying a value of -1.
PortOverride int32 `json:"portOverride"`
// ID of the proxy cluster for this resource, if any.
ProxyClusterID string `json:"proxyClusterId"`
// ID of the secret store containing credentials for this resource, if any.
SecretStoreID string `json:"secretStoreId"`
// DNS subdomain through which this resource may be accessed on clients. (e.g. "app-prod1" allows the resource to be accessed at "app-prod1.your-org-name.sdm-proxy-domain"). Only applicable to HTTP-based resources or resources using virtual networking mode.
Subdomain string `json:"subdomain"`
// Tags is a map of key, value pairs.
Tags Tags `json:"tags"`
}
func (*Neptune) GetBindInterface ¶
GetBindInterface returns the bind interface of the Neptune.
func (*Neptune) GetEgressFilter ¶
GetEgressFilter returns the egress filter of the Neptune.
func (*Neptune) GetSecretStoreID ¶
GetSecretStoreID returns the secret store id of the Neptune.
func (*Neptune) SetBindInterface ¶
SetBindInterface sets the bind interface of the Neptune.
func (*Neptune) SetEgressFilter ¶
SetEgressFilter sets the egress filter of the Neptune.
func (*Neptune) SetSecretStoreID ¶
SetSecretStoreID sets the secret store id of the Neptune.
type NeptuneIAM ¶
type NeptuneIAM struct {
// The Access Key ID to use to authenticate.
AccessKey string `json:"accessKey"`
// The bind interface is the IP address to which the port override of a resource is bound (for example, 127.0.0.1). It is automatically generated if not provided and may also be set to one of the ResourceIPAllocationMode constants to select between VNM, loopback, or default allocation.
BindInterface string `json:"bindInterface"`
// A filter applied to the routing logic to pin datasource to nodes.
EgressFilter string `json:"egressFilter"`
// The neptune endpoint to connect to as in endpoint.region.neptune.amazonaws.com
Endpoint string `json:"endpoint"`
// True if the datasource is reachable and the credentials are valid.
Healthy bool `json:"healthy"`
// Unique identifier of the Resource.
ID string `json:"id"`
// Unique human-readable name of the Resource.
Name string `json:"name"`
// The port to dial to initiate a connection from the egress node to this resource.
Port int32 `json:"port"`
// The local port used by clients to connect to this resource. It is automatically generated if not provided on create and may be re-generated on update by specifying a value of -1.
PortOverride int32 `json:"portOverride"`
// ID of the proxy cluster for this resource, if any.
ProxyClusterID string `json:"proxyClusterId"`
// The AWS region to connect to.
Region string `json:"region"`
// The role to assume after logging in.
RoleArn string `json:"roleArn"`
// The external ID to associate with assume role requests. Does nothing if a role ARN is not provided.
RoleExternalID string `json:"roleExternalId"`
// The Secret Access Key to use to authenticate.
SecretAccessKey string `json:"secretAccessKey"`
// ID of the secret store containing credentials for this resource, if any.
SecretStoreID string `json:"secretStoreId"`
// DNS subdomain through which this resource may be accessed on clients. (e.g. "app-prod1" allows the resource to be accessed at "app-prod1.your-org-name.sdm-proxy-domain"). Only applicable to HTTP-based resources or resources using virtual networking mode.
Subdomain string `json:"subdomain"`
// Tags is a map of key, value pairs.
Tags Tags `json:"tags"`
}
func (*NeptuneIAM) GetBindInterface ¶
func (m *NeptuneIAM) GetBindInterface() string
GetBindInterface returns the bind interface of the NeptuneIAM.
func (*NeptuneIAM) GetEgressFilter ¶
func (m *NeptuneIAM) GetEgressFilter() string
GetEgressFilter returns the egress filter of the NeptuneIAM.
func (*NeptuneIAM) GetID ¶
func (m *NeptuneIAM) GetID() string
GetID returns the unique identifier of the NeptuneIAM.
func (*NeptuneIAM) GetName ¶
func (m *NeptuneIAM) GetName() string
GetName returns the name of the NeptuneIAM.
func (*NeptuneIAM) GetSecretStoreID ¶
func (m *NeptuneIAM) GetSecretStoreID() string
GetSecretStoreID returns the secret store id of the NeptuneIAM.
func (*NeptuneIAM) GetTags ¶
func (m *NeptuneIAM) GetTags() Tags
GetTags returns the tags of the NeptuneIAM.
func (*NeptuneIAM) SetBindInterface ¶
func (m *NeptuneIAM) SetBindInterface(v string)
SetBindInterface sets the bind interface of the NeptuneIAM.
func (*NeptuneIAM) SetEgressFilter ¶
func (m *NeptuneIAM) SetEgressFilter(v string)
SetEgressFilter sets the egress filter of the NeptuneIAM.
func (*NeptuneIAM) SetName ¶
func (m *NeptuneIAM) SetName(v string)
SetName sets the name of the NeptuneIAM.
func (*NeptuneIAM) SetSecretStoreID ¶
func (m *NeptuneIAM) SetSecretStoreID(v string)
SetSecretStoreID sets the secret store id of the NeptuneIAM.
func (*NeptuneIAM) SetTags ¶
func (m *NeptuneIAM) SetTags(v Tags)
SetTags sets the tags of the NeptuneIAM.
type Node ¶
type Node interface {
// GetID returns the unique identifier of the Node.
GetID() string
// GetTags returns the tags of the Node.
GetTags() Tags
// SetTags sets the tags of the Node.
SetTags(Tags)
// GetName returns the name of the Node.
GetName() string
// SetName sets the name of the Node.
SetName(string)
// contains filtered or unexported methods
}
Nodes make up the StrongDM network, and allow your users to connect securely to your resources. There are three types of nodes: 1. **Relay:** creates connectivity to your datasources, while maintaining the egress-only nature of your firewall 2. **Gateway:** a relay that also listens for connections from StrongDM clients 3. **Proxy Cluster:** a cluster of workers that together mediate access from clients to resources
type NodeCreateResponse ¶
type NodeCreateResponse struct {
// Reserved for future use.
Meta *CreateResponseMetadata `json:"meta"`
// The created Node.
Node Node `json:"node"`
// Rate limit information.
RateLimit *RateLimitMetadata `json:"rateLimit"`
// The auth token generated for the Node. The Node will use this token to
// authenticate with the strongDM API.
Token string `json:"token"`
}
NodeCreateResponse reports how the Nodes were created in the system.
type NodeDeleteResponse ¶
type NodeDeleteResponse struct {
// Reserved for future use.
Meta *DeleteResponseMetadata `json:"meta"`
// Rate limit information.
RateLimit *RateLimitMetadata `json:"rateLimit"`
}
NodeDeleteResponse returns information about a Node that was deleted.
type NodeGetResponse ¶
type NodeGetResponse struct {
// Reserved for future use.
Meta *GetResponseMetadata `json:"meta"`
// The requested Node.
Node Node `json:"node"`
// Rate limit information.
RateLimit *RateLimitMetadata `json:"rateLimit"`
}
NodeGetResponse returns a requested Node.
type NodeHistory ¶
type NodeHistory struct {
// The unique identifier of the Activity that produced this change to the Node.
// May be empty for some system-initiated updates.
ActivityID string `json:"activityId"`
// If this Node was deleted, the time it was deleted.
DeletedAt time.Time `json:"deletedAt"`
// The complete Node state at this time.
Node Node `json:"node"`
// The time at which the Node state was recorded.
Timestamp time.Time `json:"timestamp"`
}
NodeHistory records the state of a Node at a given point in time, where every change (create, update and delete) to a Node produces an NodeHistory record.
type NodeHistoryIterator ¶
type NodeHistoryIterator interface {
// Next advances the iterator to the next item in the list. It returns
// true if an item is available to retrieve via the `Value()` function.
Next() bool
// Value returns the current item, if one is available.
Value() *NodeHistory
// Err returns the first error encountered during iteration, if any.
Err() error
}
NodeHistoryIterator provides read access to a list of NodeHistory. Use it like so:
for iterator.Next() {
nodeHistory := iterator.Value()
// ...
}
type NodeIterator ¶
type NodeIterator interface {
// Next advances the iterator to the next item in the list. It returns
// true if an item is available to retrieve via the `Value()` function.
Next() bool
// Value returns the current item, if one is available.
Value() Node
// Err returns the first error encountered during iteration, if any.
Err() error
}
NodeIterator provides read access to a list of Node. Use it like so:
for iterator.Next() {
node := iterator.Value()
// ...
}
type NodeMaintenanceWindow ¶
type NodeMaintenanceWindow struct {
// Cron job syntax for when this maintenance window is active. On this schedule, associated
// nodes will restart if requested, provided other checks allow the restart to proceed. Times
// are represented in UTC.
// e.g. * 7 * * 0,6 to check for a restart at every minute from 7:00 to 8:00 UTC on Sunday and
// Saturday. Not all possible inputs are supported: the month and day of month selections
// must be '*'.
CronSchedule string `json:"cronSchedule"`
// Require Idleness defines whether this window can sever live connections. If true,
// this window will not allow a node to be restarted unless it is serving no connections.
// If false, given a restart of the node has been requested (for an update, usually), the
// node will restart as soon as it enters an allowed day / hour combination. At least one
// maintenance window, out of all configured windows for a node, must have this as false.
RequireIdleness bool `json:"requireIdleness"`
}
type NodeTCPProbeResponse ¶
type NodeTCPProbeResponse struct {
// The connection error reported by the node, or the empty string if the probe succeeded.
Error string `json:"error"`
// Reserved for future use.
Meta *CreateResponseMetadata `json:"meta"`
// Rate limit information.
RateLimit *RateLimitMetadata `json:"rateLimit"`
// True if the node was able to connect to the target address.
Succeeded bool `json:"succeeded"`
}
NodeTCPProbeResponse reports the result of a TCP probe.
type NodeUpdateResponse ¶
type NodeUpdateResponse struct {
// Reserved for future use.
Meta *UpdateResponseMetadata `json:"meta"`
// The updated Node.
Node Node `json:"node"`
// Rate limit information.
RateLimit *RateLimitMetadata `json:"rateLimit"`
}
NodeUpdateResponse returns the fields of a Node after it has been updated by a NodeUpdateRequest.
type Nodes ¶
type Nodes struct {
// contains filtered or unexported fields
}
Nodes make up the StrongDM network, and allow your users to connect securely to your resources. There are three types of nodes: 1. **Relay:** creates connectivity to your datasources, while maintaining the egress-only nature of your firewall 2. **Gateway:** a relay that also listens for connections from StrongDM clients 3. **Proxy Cluster:** a cluster of workers that together mediate access from clients to resources
func (*Nodes) List ¶
func (svc *Nodes) List( ctx context.Context, filter string, args ...interface{}) ( NodeIterator, error)
List gets a list of Nodes matching a given set of criteria.
type NodesHistory ¶
type NodesHistory struct {
// contains filtered or unexported fields
}
NodesHistory records all changes to the state of a Node.
func (*NodesHistory) List ¶
func (svc *NodesHistory) List( ctx context.Context, filter string, args ...interface{}) ( NodeHistoryIterator, error)
List gets a list of NodeHistory records matching a given set of criteria.
type NotFoundError ¶
type NotFoundError struct {
// Message is the error content.
Message string
}
NotFoundError is used when an entity does not exist in the system
func (NotFoundError) Code ¶
func (e NotFoundError) Code() int
func (NotFoundError) Error ¶
func (e NotFoundError) Error() string
type OktaGroups ¶
type OktaGroups struct {
// The bind interface is the IP address to which the port override of a resource is bound (for example, 127.0.0.1). It is automatically generated if not provided and may also be set to one of the ResourceIPAllocationMode constants to select between VNM, loopback, or default allocation.
BindInterface string `json:"bindInterface"`
// If true, configures discovery of the Okta org to be run from a node.
DiscoveryEnabled bool `json:"discoveryEnabled"`
// Represents the Okta Org Client URL
Domain string `json:"domain"`
// A filter applied to the routing logic to pin datasource to nodes.
EgressFilter string `json:"egressFilter"`
// comma separated list of group names to filter by. Supports wildcards (*)
GroupNames string `json:"groupNames"`
// True if the datasource is reachable and the credentials are valid.
Healthy bool `json:"healthy"`
// Unique identifier of the Resource.
ID string `json:"id"`
// The ID of the identity set to use for identity connections.
IdentitySetID string `json:"identitySetId"`
// Unique human-readable name of the Resource.
Name string `json:"name"`
// The privilege levels specify which Groups are managed externally
PrivilegeLevels string `json:"privilegeLevels"`
// ID of the proxy cluster for this resource, if any.
ProxyClusterID string `json:"proxyClusterId"`
// ID of the secret store containing credentials for this resource, if any.
SecretStoreID string `json:"secretStoreId"`
// DNS subdomain through which this resource may be accessed on clients. (e.g. "app-prod1" allows the resource to be accessed at "app-prod1.your-org-name.sdm-proxy-domain"). Only applicable to HTTP-based resources or resources using virtual networking mode.
Subdomain string `json:"subdomain"`
// Tags is a map of key, value pairs.
Tags Tags `json:"tags"`
}
func (*OktaGroups) GetBindInterface ¶
func (m *OktaGroups) GetBindInterface() string
GetBindInterface returns the bind interface of the OktaGroups.
func (*OktaGroups) GetEgressFilter ¶
func (m *OktaGroups) GetEgressFilter() string
GetEgressFilter returns the egress filter of the OktaGroups.
func (*OktaGroups) GetID ¶
func (m *OktaGroups) GetID() string
GetID returns the unique identifier of the OktaGroups.
func (*OktaGroups) GetName ¶
func (m *OktaGroups) GetName() string
GetName returns the name of the OktaGroups.
func (*OktaGroups) GetSecretStoreID ¶
func (m *OktaGroups) GetSecretStoreID() string
GetSecretStoreID returns the secret store id of the OktaGroups.
func (*OktaGroups) GetTags ¶
func (m *OktaGroups) GetTags() Tags
GetTags returns the tags of the OktaGroups.
func (*OktaGroups) SetBindInterface ¶
func (m *OktaGroups) SetBindInterface(v string)
SetBindInterface sets the bind interface of the OktaGroups.
func (*OktaGroups) SetEgressFilter ¶
func (m *OktaGroups) SetEgressFilter(v string)
SetEgressFilter sets the egress filter of the OktaGroups.
func (*OktaGroups) SetName ¶
func (m *OktaGroups) SetName(v string)
SetName sets the name of the OktaGroups.
func (*OktaGroups) SetSecretStoreID ¶
func (m *OktaGroups) SetSecretStoreID(v string)
SetSecretStoreID sets the secret store id of the OktaGroups.
func (*OktaGroups) SetTags ¶
func (m *OktaGroups) SetTags(v Tags)
SetTags sets the tags of the OktaGroups.
type OktaGroupsPrivileges ¶
type OktaGroupsPrivileges struct {
// Groups is the list of Okta groups one will be added to
// when granted access to an Okta Console resource.
Groups []string `json:"groups,omitempty"`
}
func (OktaGroupsPrivileges) IsZero ¶
func (p OktaGroupsPrivileges) IsZero() bool
type Oracle ¶
type Oracle struct {
// The bind interface is the IP address to which the port override of a resource is bound (for example, 127.0.0.1). It is automatically generated if not provided and may also be set to one of the ResourceIPAllocationMode constants to select between VNM, loopback, or default allocation.
BindInterface string `json:"bindInterface"`
// Oracle service name to connect to
Database string `json:"database"`
// A filter applied to the routing logic to pin datasource to nodes.
EgressFilter string `json:"egressFilter"`
// True if the datasource is reachable and the credentials are valid.
Healthy bool `json:"healthy"`
// The host to dial to initiate a connection from the egress node to this resource.
Hostname string `json:"hostname"`
// Unique identifier of the Resource.
ID string `json:"id"`
// Unique human-readable name of the Resource.
Name string `json:"name"`
// The password to authenticate with.
Password string `json:"password"`
// The port to dial to initiate a connection from the egress node to this resource.
Port int32 `json:"port"`
// The local port used by clients to connect to this resource. It is automatically generated if not provided on create and may be re-generated on update by specifying a value of -1.
PortOverride int32 `json:"portOverride"`
// ID of the proxy cluster for this resource, if any.
ProxyClusterID string `json:"proxyClusterId"`
// ID of the secret store containing credentials for this resource, if any.
SecretStoreID string `json:"secretStoreId"`
// DNS subdomain through which this resource may be accessed on clients. (e.g. "app-prod1" allows the resource to be accessed at "app-prod1.your-org-name.sdm-proxy-domain"). Only applicable to HTTP-based resources or resources using virtual networking mode.
Subdomain string `json:"subdomain"`
// Tags is a map of key, value pairs.
Tags Tags `json:"tags"`
// If set, TLS must be used to connect to this resource.
TlsRequired bool `json:"tlsRequired"`
// The username to authenticate with.
Username string `json:"username"`
}
func (*Oracle) GetBindInterface ¶
GetBindInterface returns the bind interface of the Oracle.
func (*Oracle) GetEgressFilter ¶
GetEgressFilter returns the egress filter of the Oracle.
func (*Oracle) GetSecretStoreID ¶
GetSecretStoreID returns the secret store id of the Oracle.
func (*Oracle) SetBindInterface ¶
SetBindInterface sets the bind interface of the Oracle.
func (*Oracle) SetEgressFilter ¶
SetEgressFilter sets the egress filter of the Oracle.
func (*Oracle) SetSecretStoreID ¶
SetSecretStoreID sets the secret store id of the Oracle.
type OracleNNE ¶
type OracleNNE struct {
// The bind interface is the IP address to which the port override of a resource is bound (for example, 127.0.0.1). It is automatically generated if not provided and may also be set to one of the ResourceIPAllocationMode constants to select between VNM, loopback, or default allocation.
BindInterface string `json:"bindInterface"`
// Oracle service name to connect to
Database string `json:"database"`
// A filter applied to the routing logic to pin datasource to nodes.
EgressFilter string `json:"egressFilter"`
// True if the datasource is reachable and the credentials are valid.
Healthy bool `json:"healthy"`
// The host to dial to initiate a connection from the egress node to this resource.
Hostname string `json:"hostname"`
// Unique identifier of the Resource.
ID string `json:"id"`
// Unique human-readable name of the Resource.
Name string `json:"name"`
// The password to authenticate with.
Password string `json:"password"`
// The port to dial to initiate a connection from the egress node to this resource.
Port int32 `json:"port"`
// The local port used by clients to connect to this resource. It is automatically generated if not provided on create and may be re-generated on update by specifying a value of -1.
PortOverride int32 `json:"portOverride"`
// ID of the proxy cluster for this resource, if any.
ProxyClusterID string `json:"proxyClusterId"`
// ID of the secret store containing credentials for this resource, if any.
SecretStoreID string `json:"secretStoreId"`
// DNS subdomain through which this resource may be accessed on clients. (e.g. "app-prod1" allows the resource to be accessed at "app-prod1.your-org-name.sdm-proxy-domain"). Only applicable to HTTP-based resources or resources using virtual networking mode.
Subdomain string `json:"subdomain"`
// Tags is a map of key, value pairs.
Tags Tags `json:"tags"`
// If set, TLS must be used to connect to this resource.
TlsRequired bool `json:"tlsRequired"`
// The username to authenticate with.
Username string `json:"username"`
}
func (*OracleNNE) GetBindInterface ¶
GetBindInterface returns the bind interface of the OracleNNE.
func (*OracleNNE) GetEgressFilter ¶
GetEgressFilter returns the egress filter of the OracleNNE.
func (*OracleNNE) GetSecretStoreID ¶
GetSecretStoreID returns the secret store id of the OracleNNE.
func (*OracleNNE) SetBindInterface ¶
SetBindInterface sets the bind interface of the OracleNNE.
func (*OracleNNE) SetEgressFilter ¶
SetEgressFilter sets the egress filter of the OracleNNE.
func (*OracleNNE) SetSecretStoreID ¶
SetSecretStoreID sets the secret store id of the OracleNNE.
type Organization ¶
type Organization struct {
// The Organization's authentication provider, one of the AuthProvider constants.
AuthProvider string `json:"authProvider"`
// The time at which the Organization was created.
CreatedAt time.Time `json:"createdAt"`
// Indicates if the Organization has device trust enabled.
DeviceTrustEnabled bool `json:"deviceTrustEnabled"`
// The Organization's device trust provider, one of the DeviceTrustProvider constants.
DeviceTrustProvider string `json:"deviceTrustProvider"`
// Indicates if the Organization should drop replay data for SSH, RDP, and K8s logs.
// Deprecated: use categories specific log_config.categories[].remote_discard_replays instead
DiscardReplays bool `json:"discardReplays"`
// Indicates if the Organization enforces a single session per user for the CLI and AdminUI.
EnforceSingleSession bool `json:"enforceSingleSession"`
// The Organization's idle timeout, if enabled.
IdleTimeout time.Duration `json:"idleTimeout"`
// Indicates if the Organization has idle timeouts enabled.
IdleTimeoutEnabled bool `json:"idleTimeoutEnabled"`
// The Organization's type, one of the OrgKind constants.
Kind string `json:"kind"`
// The Organization's logging settings
LogConfig *LogConfig `json:"logConfig"`
// The Organization's local log encryption encoder, one of the LogLocalEncoder constants.
// Deprecated: use log_config.local_encoder instead
LogLocalEncoder string `json:"logLocalEncoder"`
// The Organization's local log format, one of the LogLocalFormat constants.
// Deprecated: use log_config.local_format instead
LogLocalFormat string `json:"logLocalFormat"`
// The Organization's local log storage, one of the LogLocalStorage constants.
// Deprecated: use log_config.local_storage instead
LogLocalStorage string `json:"logLocalStorage"`
// The Organization's remote log encryption encoder, one of the LogRemoteEncoder constants.
// Deprecated: use categories specific log_config.categories[].remote_encoder instead
LogRemoteEncoder string `json:"logRemoteEncoder"`
// The Organization's socket path for Socket local log storage.
// Deprecated: use log_config.local_socket_path instead
LogSocketPath string `json:"logSocketPath"`
// The Organization's TCP address for TCP or Syslog local log storage.
// Deprecated: use log_config.local_tcp_address instead
LogTCPAddress string `json:"logTcpAddress"`
// The Organization's loopback range.
LoopbackRange string `json:"loopbackRange"`
// Indicates if the Organization has multi-factor authentication enabled.
MFAEnabled bool `json:"mfaEnabled"`
// The Organization's multi-factor authentication provider, one of the MFAProvider constants.
MFAProvider string `json:"mfaProvider"`
// The Organization's name.
Name string `json:"name"`
// The Organization's public key PEM for encrypting remote logs.
// Deprecated: use log_config.public_key instead
PublicKeyPem string `json:"publicKeyPem"`
// Indicates if the Organization requires secret stores.
RequireSecretStore bool `json:"requireSecretStore"`
// The Organization's URL for SAML metadata.
SAMLMetadataURL string `json:"samlMetadataUrl"`
// The Organization's SCIM provider, one of the SCIMProvider constants.
SCIMProvider string `json:"scimProvider"`
// The Organization's label for sensitive resources.
SensitiveLabel string `json:"sensitiveLabel"`
// The Organization's session timeout, if enabled.
SessionTimeout time.Duration `json:"sessionTimeout"`
// Indicates if the Organization has session timeouts enabled.
SessionTimeoutEnabled bool `json:"sessionTimeoutEnabled"`
// The Organization's SSH certificate authority public key.
SSHCertificateAuthorityPublicKey string `json:"sshCertificateAuthorityPublicKey"`
// The time at which the Organization's SSH certificate authority was last updated.
SSHCertificateAuthorityUpdatedAt time.Time `json:"sshCertificateAuthorityUpdatedAt"`
// The time at which the Organization was last updated.
UpdatedAt time.Time `json:"updatedAt"`
// The Organization's web site domain.
WebsitesSubdomain string `json:"websitesSubdomain"`
}
type OrganizationHistory ¶
type OrganizationHistory struct {
// contains filtered or unexported fields
}
OrganizationHistory records all changes to the state of an Organization.
func (*OrganizationHistory) List ¶
func (svc *OrganizationHistory) List( ctx context.Context, filter string, args ...interface{}) ( OrganizationHistoryRecordIterator, error)
List gets a list of OrganizationHistory records matching a given set of criteria.
type OrganizationHistoryRecord ¶
type OrganizationHistoryRecord struct {
// The unique identifier of the Activity that produced this change to the Organization.
// May be empty for some system-initiated organization updates.
ActivityID string `json:"activityId"`
// The complete Organization state at this time.
Organization *Organization `json:"organization"`
// The time at which the Organization state was recorded.
Timestamp time.Time `json:"timestamp"`
}
OrganizationHistoryRecord records the state of an Organization at a given point in time, where every change to an Organization produces an OrganizationHistoryRecord.
type OrganizationHistoryRecordIterator ¶
type OrganizationHistoryRecordIterator interface {
// Next advances the iterator to the next item in the list. It returns
// true if an item is available to retrieve via the `Value()` function.
Next() bool
// Value returns the current item, if one is available.
Value() *OrganizationHistoryRecord
// Err returns the first error encountered during iteration, if any.
Err() error
}
OrganizationHistoryRecordIterator provides read access to a list of OrganizationHistoryRecord. Use it like so:
for iterator.Next() {
organizationHistoryRecord := iterator.Value()
// ...
}
type PeeringGroup ¶
type PeeringGroup struct {
// Unique identifier of the PeeringGroup.
ID string `json:"id"`
// Unique human-readable name of the PeeringGroup.
Name string `json:"name"`
}
PeeringGroups are the building blocks used for explicit network topology making. They may be linked to other peering groups. Sets of PeeringGroupResource and PeeringGroupNode can be attached to a peering group.
type PeeringGroupCreateResponse ¶
type PeeringGroupCreateResponse struct {
// Reserved for future use.
Meta *CreateResponseMetadata `json:"meta"`
// The created PeeringGroup.
PeeringGroup *PeeringGroup `json:"peeringGroup"`
// Rate limit information.
RateLimit *RateLimitMetadata `json:"rateLimit"`
}
PeeringGroupCreateResponse reports how the PeeringGroup was created in the system.
type PeeringGroupDeleteResponse ¶
type PeeringGroupDeleteResponse struct {
// Reserved for future use.
Meta *DeleteResponseMetadata `json:"meta"`
// Rate limit information.
RateLimit *RateLimitMetadata `json:"rateLimit"`
}
PeeringGroupDeleteResponse returns information about a PeeringGroup that was deleted.
type PeeringGroupGetResponse ¶
type PeeringGroupGetResponse struct {
// Reserved for future use.
Meta *GetResponseMetadata `json:"meta"`
// The requested PeeringGroup.
PeeringGroup *PeeringGroup `json:"peeringGroup"`
// Rate limit information.
RateLimit *RateLimitMetadata `json:"rateLimit"`
}
PeeringGroupGetResponse returns a requested PeeringGroup.
type PeeringGroupIterator ¶
type PeeringGroupIterator interface {
// Next advances the iterator to the next item in the list. It returns
// true if an item is available to retrieve via the `Value()` function.
Next() bool
// Value returns the current item, if one is available.
Value() *PeeringGroup
// Err returns the first error encountered during iteration, if any.
Err() error
}
PeeringGroupIterator provides read access to a list of PeeringGroup. Use it like so:
for iterator.Next() {
peeringGroup := iterator.Value()
// ...
}
type PeeringGroupNode ¶
type PeeringGroupNode struct {
// Peering Group ID to which the node will be attached to.
GroupID string `json:"groupId"`
// Unique identifier of the Attachment.
ID string `json:"id"`
// Node ID to be attached.
NodeID string `json:"nodeId"`
}
PeeringGroupNode represents the attachment between a PeeringGroup and a Node.
type PeeringGroupNodeCreateResponse ¶
type PeeringGroupNodeCreateResponse struct {
// Reserved for future use.
Meta *CreateResponseMetadata `json:"meta"`
// The created PeeringGroupNode.
PeeringGroupNode *PeeringGroupNode `json:"peeringGroupNode"`
// Rate limit information.
RateLimit *RateLimitMetadata `json:"rateLimit"`
}
PeeringGroupNodeCreateResponse reports how the PeeringGroupNode was created in the system.
type PeeringGroupNodeDeleteResponse ¶
type PeeringGroupNodeDeleteResponse struct {
// Reserved for future use.
Meta *DeleteResponseMetadata `json:"meta"`
// Rate limit information.
RateLimit *RateLimitMetadata `json:"rateLimit"`
}
PeeringGroupNodeDeleteResponse returns information about a PeeringGroupNode that was deleted.
type PeeringGroupNodeGetResponse ¶
type PeeringGroupNodeGetResponse struct {
// Reserved for future use.
Meta *GetResponseMetadata `json:"meta"`
// The requested PeeringGroupNode.
PeeringGroupNode *PeeringGroupNode `json:"peeringGroupNode"`
// Rate limit information.
RateLimit *RateLimitMetadata `json:"rateLimit"`
}
PeeringGroupNodeGetResponse returns a requested PeeringGroupNode.
type PeeringGroupNodeIterator ¶
type PeeringGroupNodeIterator interface {
// Next advances the iterator to the next item in the list. It returns
// true if an item is available to retrieve via the `Value()` function.
Next() bool
// Value returns the current item, if one is available.
Value() *PeeringGroupNode
// Err returns the first error encountered during iteration, if any.
Err() error
}
PeeringGroupNodeIterator provides read access to a list of PeeringGroupNode. Use it like so:
for iterator.Next() {
peeringGroupNode := iterator.Value()
// ...
}
type PeeringGroupNodes ¶
type PeeringGroupNodes struct {
// contains filtered or unexported fields
}
PeeringGroupNodes provides the building blocks necessary to obtain attach a node to a peering group.
func (*PeeringGroupNodes) Create ¶
func (svc *PeeringGroupNodes) Create( ctx context.Context, peeringGroupNode *PeeringGroupNode) ( *PeeringGroupNodeCreateResponse, error)
Create attaches a Node to a PeeringGroup
func (*PeeringGroupNodes) Delete ¶
func (svc *PeeringGroupNodes) Delete( ctx context.Context, id string) ( *PeeringGroupNodeDeleteResponse, error)
Delete detaches a Node to a PeeringGroup.
func (*PeeringGroupNodes) Get ¶
func (svc *PeeringGroupNodes) Get( ctx context.Context, id string) ( *PeeringGroupNodeGetResponse, error)
Get reads the information of one peering group to node attachment.
func (*PeeringGroupNodes) List ¶
func (svc *PeeringGroupNodes) List( ctx context.Context, filter string, args ...interface{}) ( PeeringGroupNodeIterator, error)
List gets a list of peering group node attachments.
type PeeringGroupPeer ¶
type PeeringGroupPeer struct {
// Group ID from which the link will originate.
GroupID string `json:"groupId"`
// Unique identifier of the Attachment.
ID string `json:"id"`
// Peering Group ID to which Group ID will link.
PeersWithGroupID string `json:"peersWithGroupId"`
}
PeeringGroupPeer represents the link between two PeeringGroups
type PeeringGroupPeerCreateResponse ¶
type PeeringGroupPeerCreateResponse struct {
// Reserved for future use.
Meta *CreateResponseMetadata `json:"meta"`
// The created PeeringGroupPeer.
PeeringGroupPeer *PeeringGroupPeer `json:"peeringGroupPeer"`
// Rate limit information.
RateLimit *RateLimitMetadata `json:"rateLimit"`
}
PeeringGroupPeerCreateResponse reports how the PeeringGroupPeer was created in the system.
type PeeringGroupPeerDeleteResponse ¶
type PeeringGroupPeerDeleteResponse struct {
// Reserved for future use.
Meta *DeleteResponseMetadata `json:"meta"`
// Rate limit information.
RateLimit *RateLimitMetadata `json:"rateLimit"`
}
PeeringGroupPeerDeleteResponse returns information about a PeeringGroupPeer that was deleted.
type PeeringGroupPeerGetResponse ¶
type PeeringGroupPeerGetResponse struct {
// Reserved for future use.
Meta *GetResponseMetadata `json:"meta"`
// The requested PeeringGroupPeer.
PeeringGroupPeer *PeeringGroupPeer `json:"peeringGroupPeer"`
// Rate limit information.
RateLimit *RateLimitMetadata `json:"rateLimit"`
}
PeeringGroupPeerGetResponse returns a requested PeeringGroupPeer.
type PeeringGroupPeerIterator ¶
type PeeringGroupPeerIterator interface {
// Next advances the iterator to the next item in the list. It returns
// true if an item is available to retrieve via the `Value()` function.
Next() bool
// Value returns the current item, if one is available.
Value() *PeeringGroupPeer
// Err returns the first error encountered during iteration, if any.
Err() error
}
PeeringGroupPeerIterator provides read access to a list of PeeringGroupPeer. Use it like so:
for iterator.Next() {
peeringGroupPeer := iterator.Value()
// ...
}
type PeeringGroupPeers ¶
type PeeringGroupPeers struct {
// contains filtered or unexported fields
}
PeeringGroupPeers provides the building blocks necessary to link two peering groups.
func (*PeeringGroupPeers) Create ¶
func (svc *PeeringGroupPeers) Create( ctx context.Context, peeringGroupPeer *PeeringGroupPeer) ( *PeeringGroupPeerCreateResponse, error)
Create links two peering groups.
func (*PeeringGroupPeers) Delete ¶
func (svc *PeeringGroupPeers) Delete( ctx context.Context, id string) ( *PeeringGroupPeerDeleteResponse, error)
Delete unlinks two peering groups.
func (*PeeringGroupPeers) Get ¶
func (svc *PeeringGroupPeers) Get( ctx context.Context, id string) ( *PeeringGroupPeerGetResponse, error)
Get reads the information of one peering group link.
func (*PeeringGroupPeers) List ¶
func (svc *PeeringGroupPeers) List( ctx context.Context, filter string, args ...interface{}) ( PeeringGroupPeerIterator, error)
List gets a list of peering group links.
type PeeringGroupResource ¶
type PeeringGroupResource struct {
// Peering Group ID to which the resource will be attached to.
GroupID string `json:"groupId"`
// Unique identifier of the Attachment.
ID string `json:"id"`
// Resource ID to be attached.
ResourceID string `json:"resourceId"`
}
PeeringGroupResource represents the attachment between a PeeringGroup and a Resource.
type PeeringGroupResourceCreateResponse ¶
type PeeringGroupResourceCreateResponse struct {
// Reserved for future use.
Meta *CreateResponseMetadata `json:"meta"`
// The created PeeringGroupResource.
PeeringGroupResource *PeeringGroupResource `json:"peeringGroupResource"`
// Rate limit information.
RateLimit *RateLimitMetadata `json:"rateLimit"`
}
PeeringGroupResourceCreateResponse reports how the attachment was created in the system.
type PeeringGroupResourceDeleteResponse ¶
type PeeringGroupResourceDeleteResponse struct {
// Reserved for future use.
Meta *DeleteResponseMetadata `json:"meta"`
// Rate limit information.
RateLimit *RateLimitMetadata `json:"rateLimit"`
}
PeeringGroupResourceDeleteResponse returns information about a PeeringGroupResource that was deleted.
type PeeringGroupResourceGetResponse ¶
type PeeringGroupResourceGetResponse struct {
// Reserved for future use.
Meta *GetResponseMetadata `json:"meta"`
// The requested PeeringGroupResource.
PeeringGroupResource *PeeringGroupResource `json:"peeringGroupResource"`
// Rate limit information.
RateLimit *RateLimitMetadata `json:"rateLimit"`
}
PeeringGroupResourceGetResponse returns a requested PeeringGroupResource.
type PeeringGroupResourceIterator ¶
type PeeringGroupResourceIterator interface {
// Next advances the iterator to the next item in the list. It returns
// true if an item is available to retrieve via the `Value()` function.
Next() bool
// Value returns the current item, if one is available.
Value() *PeeringGroupResource
// Err returns the first error encountered during iteration, if any.
Err() error
}
PeeringGroupResourceIterator provides read access to a list of PeeringGroupResource. Use it like so:
for iterator.Next() {
peeringGroupResource := iterator.Value()
// ...
}
type PeeringGroupResources ¶
type PeeringGroupResources struct {
// contains filtered or unexported fields
}
PeeringGroupResources provides the building blocks necessary to obtain attach a resource to a peering group.
func (*PeeringGroupResources) Create ¶
func (svc *PeeringGroupResources) Create( ctx context.Context, peeringGroupResource *PeeringGroupResource) ( *PeeringGroupResourceCreateResponse, error)
Create attaches a Resource to a PeeringGroup
func (*PeeringGroupResources) Delete ¶
func (svc *PeeringGroupResources) Delete( ctx context.Context, id string) ( *PeeringGroupResourceDeleteResponse, error)
Delete detaches a Resource to a PeeringGroup
func (*PeeringGroupResources) Get ¶
func (svc *PeeringGroupResources) Get( ctx context.Context, id string) ( *PeeringGroupResourceGetResponse, error)
Get reads the information of one peering group to resource attachment.
func (*PeeringGroupResources) List ¶
func (svc *PeeringGroupResources) List( ctx context.Context, filter string, args ...interface{}) ( PeeringGroupResourceIterator, error)
List gets a list of peering group resource attachments.
type PeeringGroups ¶
type PeeringGroups struct {
// contains filtered or unexported fields
}
PeeringGroups provides the building blocks necessary to obtain explicit network topology and routing.
func (*PeeringGroups) Create ¶
func (svc *PeeringGroups) Create( ctx context.Context, peeringGroup *PeeringGroup) ( *PeeringGroupCreateResponse, error)
Create registers a new PeeringGroup.
func (*PeeringGroups) Delete ¶
func (svc *PeeringGroups) Delete( ctx context.Context, id string) ( *PeeringGroupDeleteResponse, error)
Delete removes a PeeringGroup by ID.
func (*PeeringGroups) Get ¶
func (svc *PeeringGroups) Get( ctx context.Context, id string) ( *PeeringGroupGetResponse, error)
Get reads one PeeringGroup by ID. It will load all its dependencies.
func (*PeeringGroups) List ¶
func (svc *PeeringGroups) List( ctx context.Context, filter string, args ...interface{}) ( PeeringGroupIterator, error)
List gets a list of Peering Groups.
type PermissionError ¶
type PermissionError struct {
// Message is the error content.
Message string
}
PermissionError is used to specify a permissions violation
func (PermissionError) Code ¶
func (e PermissionError) Code() int
func (PermissionError) Error ¶
func (e PermissionError) Error() string
type Policies ¶
type Policies struct {
// contains filtered or unexported fields
}
Policies are the collection of one or more statements that enforce fine-grained access control for the users of an organization.
type PoliciesHistory ¶
type PoliciesHistory struct {
// contains filtered or unexported fields
}
PoliciesHistory records all changes to the state of a Policy.
func (*PoliciesHistory) List ¶
func (svc *PoliciesHistory) List( ctx context.Context, filter string, args ...interface{}) ( PolicyHistoryIterator, error)
List gets a list of PolicyHistory records matching a given set of criteria.
type Policy ¶
type Policy struct {
// Optional description of the Policy.
Description string `json:"description"`
// Unique identifier of the Policy.
ID string `json:"id"`
// Unique human-readable name of the Policy.
Name string `json:"name"`
// The content of the Policy, in Cedar policy language.
Policy string `json:"policy"`
}
Policy is a collection of one or more statements that enforce fine-grained access control for the users of an organization.
type PolicyCreateResponse ¶
type PolicyCreateResponse struct {
// The created Policy.
Policy *Policy `json:"policy"`
// Rate limit information.
RateLimit *RateLimitMetadata `json:"rateLimit"`
}
PolicyCreateResponse reports how the Policy was created in the system.
type PolicyDeleteResponse ¶
type PolicyDeleteResponse struct {
// Rate limit information.
RateLimit *RateLimitMetadata `json:"rateLimit"`
}
PolicyDeleteResponse returns information about a Policy that was deleted.
type PolicyGetResponse ¶
type PolicyGetResponse struct {
// Reserved for future use.
Meta *GetResponseMetadata `json:"meta"`
// The requested Policy.
Policy *Policy `json:"policy"`
// Rate limit information.
RateLimit *RateLimitMetadata `json:"rateLimit"`
}
PolicyGetResponse returns a requested Policy.
type PolicyHistory ¶
type PolicyHistory struct {
// The unique identifier of the Activity that produced this change to the Policy.
// May be empty for some system-initiated updates.
ActivityID string `json:"activityId"`
// If this Policy was deleted, the time it was deleted.
DeletedAt time.Time `json:"deletedAt"`
// The complete Policy state at this time.
Policy *Policy `json:"policy"`
// The time at which the Policy state was recorded.
Timestamp time.Time `json:"timestamp"`
}
PolicyHistory records the state of a Policy at a given point in time, where every change (create, update and delete) to a Policy produces a PolicyHistory record.
type PolicyHistoryIterator ¶
type PolicyHistoryIterator interface {
// Next advances the iterator to the next item in the list. It returns
// true if an item is available to retrieve via the `Value()` function.
Next() bool
// Value returns the current item, if one is available.
Value() *PolicyHistory
// Err returns the first error encountered during iteration, if any.
Err() error
}
PolicyHistoryIterator provides read access to a list of PolicyHistory. Use it like so:
for iterator.Next() {
policyHistory := iterator.Value()
// ...
}
type PolicyIterator ¶
type PolicyIterator interface {
// Next advances the iterator to the next item in the list. It returns
// true if an item is available to retrieve via the `Value()` function.
Next() bool
// Value returns the current item, if one is available.
Value() *Policy
// Err returns the first error encountered during iteration, if any.
Err() error
}
PolicyIterator provides read access to a list of Policy. Use it like so:
for iterator.Next() {
policy := iterator.Value()
// ...
}
type PolicyListResponse ¶
type PolicyListResponse struct {
// Rate limit information.
RateLimit *RateLimitMetadata `json:"rateLimit"`
}
PolicyListResponse returns a list of Policy records that meet the criteria of a PolicyListRequest.
type PolicyUpdateResponse ¶
type PolicyUpdateResponse struct {
// The updated Policy.
Policy *Policy `json:"policy"`
// Rate limit information.
RateLimit *RateLimitMetadata `json:"rateLimit"`
}
PolicyUpdateResponse returns the fields of a Policy after it has been updated by a PolicyUpdateRequest.
type Postgres ¶
type Postgres struct {
// The bind interface is the IP address to which the port override of a resource is bound (for example, 127.0.0.1). It is automatically generated if not provided and may also be set to one of the ResourceIPAllocationMode constants to select between VNM, loopback, or default allocation.
BindInterface string `json:"bindInterface"`
// The initial database to connect to. This setting does not by itself prevent switching to another database after connecting.
Database string `json:"database"`
// A filter applied to the routing logic to pin datasource to nodes.
EgressFilter string `json:"egressFilter"`
// True if the datasource is reachable and the credentials are valid.
Healthy bool `json:"healthy"`
// The host to dial to initiate a connection from the egress node to this resource.
Hostname string `json:"hostname"`
// Unique identifier of the Resource.
ID string `json:"id"`
// Unique human-readable name of the Resource.
Name string `json:"name"`
// If set, the database configured cannot be changed by users. This setting is not recommended for most use cases, as some clients will insist their database has changed when it has not, leading to user confusion.
OverrideDatabase bool `json:"overrideDatabase"`
// The password to authenticate with.
Password string `json:"password"`
// The port to dial to initiate a connection from the egress node to this resource.
Port int32 `json:"port"`
// The local port used by clients to connect to this resource. It is automatically generated if not provided on create and may be re-generated on update by specifying a value of -1.
PortOverride int32 `json:"portOverride"`
// ID of the proxy cluster for this resource, if any.
ProxyClusterID string `json:"proxyClusterId"`
// ID of the secret store containing credentials for this resource, if any.
SecretStoreID string `json:"secretStoreId"`
// DNS subdomain through which this resource may be accessed on clients. (e.g. "app-prod1" allows the resource to be accessed at "app-prod1.your-org-name.sdm-proxy-domain"). Only applicable to HTTP-based resources or resources using virtual networking mode.
Subdomain string `json:"subdomain"`
// Tags is a map of key, value pairs.
Tags Tags `json:"tags"`
// The username to authenticate with.
Username string `json:"username"`
}
func (*Postgres) GetBindInterface ¶
GetBindInterface returns the bind interface of the Postgres.
func (*Postgres) GetEgressFilter ¶
GetEgressFilter returns the egress filter of the Postgres.
func (*Postgres) GetSecretStoreID ¶
GetSecretStoreID returns the secret store id of the Postgres.
func (*Postgres) SetBindInterface ¶
SetBindInterface sets the bind interface of the Postgres.
func (*Postgres) SetEgressFilter ¶
SetEgressFilter sets the egress filter of the Postgres.
func (*Postgres) SetSecretStoreID ¶
SetSecretStoreID sets the secret store id of the Postgres.
type PostgresEngine ¶
type PostgresEngine struct {
// The default time-to-live duration of the password after it's read. Once the ttl has passed, a password will be rotated.
AfterReadTtl time.Duration `json:"afterReadTtl"`
// Database is the database to verify credential against.
Database string `json:"database"`
// Hostname is the hostname or IP address of the Postgres server.
Hostname string `json:"hostname"`
// Unique identifier of the Secret Engine.
ID string `json:"id"`
// An interval of public/private key rotation for secret engine in days
KeyRotationIntervalDays int32 `json:"keyRotationIntervalDays"`
// Unique human-readable name of the Secret Engine.
Name string `json:"name"`
// node selector is used to narrow down the nodes used to communicate with with secret engine
NodeSelector string `json:"nodeSelector"`
// Password is the password to connect to the Postgres server.
Password string `json:"password"`
// Policy for password creation
Policy *SecretEnginePolicy `json:"policy"`
// Port is the port number of the Postgres server.
Port uint32 `json:"port"`
// Public key linked with a secret engine
PublicKey []byte `json:"publicKey"`
// Backing secret store identifier
SecretStoreID string `json:"secretStoreId"`
// Backing Secret Store root path where managed secrets are going to be stored
SecretStoreRootPath string `json:"secretStoreRootPath"`
// Tags is a map of key, value pairs.
Tags Tags `json:"tags"`
// TLS enables TLS/SSL when connecting to the Postgres server.
Tls bool `json:"tls"`
// The default password time-to-live duration. Once the ttl has passed, a password will be rotated the next time it's requested.
Ttl time.Duration `json:"ttl"`
// Username is the username to connect to the Postgres server.
Username string `json:"username"`
}
func (*PostgresEngine) GetID ¶
func (m *PostgresEngine) GetID() string
GetID returns the unique identifier of the PostgresEngine.
func (*PostgresEngine) GetKeyRotationIntervalDays ¶ added in v16.6.0
func (m *PostgresEngine) GetKeyRotationIntervalDays() int32
GetKeyRotationIntervalDays returns the key rotation interval days of the PostgresEngine.
func (*PostgresEngine) GetName ¶
func (m *PostgresEngine) GetName() string
GetName returns the name of the PostgresEngine.
func (*PostgresEngine) GetNodeSelector ¶ added in v16.6.0
func (m *PostgresEngine) GetNodeSelector() string
GetNodeSelector returns the node selector of the PostgresEngine.
func (*PostgresEngine) GetPublicKey ¶
func (m *PostgresEngine) GetPublicKey() []byte
GetPublicKey returns the public key of the PostgresEngine.
func (*PostgresEngine) GetSecretStoreID ¶
func (m *PostgresEngine) GetSecretStoreID() string
GetSecretStoreID returns the secret store id of the PostgresEngine.
func (*PostgresEngine) GetSecretStoreRootPath ¶
func (m *PostgresEngine) GetSecretStoreRootPath() string
GetSecretStoreRootPath returns the secret store root path of the PostgresEngine.
func (*PostgresEngine) GetTags ¶
func (m *PostgresEngine) GetTags() Tags
GetTags returns the tags of the PostgresEngine.
func (*PostgresEngine) SetKeyRotationIntervalDays ¶ added in v16.6.0
func (m *PostgresEngine) SetKeyRotationIntervalDays(v int32)
SetKeyRotationIntervalDays sets the key rotation interval days of the PostgresEngine.
func (*PostgresEngine) SetName ¶
func (m *PostgresEngine) SetName(v string)
SetName sets the name of the PostgresEngine.
func (*PostgresEngine) SetNodeSelector ¶ added in v16.6.0
func (m *PostgresEngine) SetNodeSelector(v string)
SetNodeSelector sets the node selector of the PostgresEngine.
func (*PostgresEngine) SetPublicKey ¶
func (m *PostgresEngine) SetPublicKey(v []byte)
SetPublicKey sets the public key of the PostgresEngine.
func (*PostgresEngine) SetSecretStoreID ¶
func (m *PostgresEngine) SetSecretStoreID(v string)
SetSecretStoreID sets the secret store id of the PostgresEngine.
func (*PostgresEngine) SetSecretStoreRootPath ¶
func (m *PostgresEngine) SetSecretStoreRootPath(v string)
SetSecretStoreRootPath sets the secret store root path of the PostgresEngine.
func (*PostgresEngine) SetTags ¶
func (m *PostgresEngine) SetTags(v Tags)
SetTags sets the tags of the PostgresEngine.
type Presto ¶
type Presto struct {
// The bind interface is the IP address to which the port override of a resource is bound (for example, 127.0.0.1). It is automatically generated if not provided and may also be set to one of the ResourceIPAllocationMode constants to select between VNM, loopback, or default allocation.
BindInterface string `json:"bindInterface"`
// The initial database to connect to. This setting does not by itself prevent switching to another database after connecting.
Database string `json:"database"`
// A filter applied to the routing logic to pin datasource to nodes.
EgressFilter string `json:"egressFilter"`
// True if the datasource is reachable and the credentials are valid.
Healthy bool `json:"healthy"`
// The host to dial to initiate a connection from the egress node to this resource.
Hostname string `json:"hostname"`
// Unique identifier of the Resource.
ID string `json:"id"`
// Unique human-readable name of the Resource.
Name string `json:"name"`
// The password to authenticate with.
Password string `json:"password"`
// The port to dial to initiate a connection from the egress node to this resource.
Port int32 `json:"port"`
// The local port used by clients to connect to this resource. It is automatically generated if not provided on create and may be re-generated on update by specifying a value of -1.
PortOverride int32 `json:"portOverride"`
// ID of the proxy cluster for this resource, if any.
ProxyClusterID string `json:"proxyClusterId"`
// ID of the secret store containing credentials for this resource, if any.
SecretStoreID string `json:"secretStoreId"`
// DNS subdomain through which this resource may be accessed on clients. (e.g. "app-prod1" allows the resource to be accessed at "app-prod1.your-org-name.sdm-proxy-domain"). Only applicable to HTTP-based resources or resources using virtual networking mode.
Subdomain string `json:"subdomain"`
// Tags is a map of key, value pairs.
Tags Tags `json:"tags"`
// If set, TLS must be used to connect to this resource.
TlsRequired bool `json:"tlsRequired"`
// The username to authenticate with.
Username string `json:"username"`
}
func (*Presto) GetBindInterface ¶
GetBindInterface returns the bind interface of the Presto.
func (*Presto) GetEgressFilter ¶
GetEgressFilter returns the egress filter of the Presto.
func (*Presto) GetSecretStoreID ¶
GetSecretStoreID returns the secret store id of the Presto.
func (*Presto) SetBindInterface ¶
SetBindInterface sets the bind interface of the Presto.
func (*Presto) SetEgressFilter ¶
SetEgressFilter sets the egress filter of the Presto.
func (*Presto) SetSecretStoreID ¶
SetSecretStoreID sets the secret store id of the Presto.
type Privileges ¶
type Privileges struct {
// K8s specifies a collection of privileges
// for any resource defined in an access rule that is of the
// kubernetes type.
K8s K8sPrivileges `json:"k8s,omitempty,omitzero"`
// EntraGroups specifies a collection of Groups
// that a Principal should be put in, within Entra,
// via access to an Azure Console resource.
EntraGroups EntraGroupsPrivileges `json:"entraGroups,omitempty,omitzero"`
// OktaGroups specifies a collection of Groups
// that a Principal should be put in, within Okta,
// via access to an Okta Groups resource.
OktaGroups OktaGroupsPrivileges `json:"oktaGroups,omitempty,omitzero"`
}
Privileges specify different privilege levels one can utilize with a set of resources.
func (Privileges) IsZero ¶
func (p Privileges) IsZero() bool
type ProxyCluster ¶
type ProxyCluster struct {
// The public hostname/port tuple at which the proxy cluster will be
// accessible to clients.
Address string `json:"address"`
// Unique identifier of the Proxy Cluster.
ID string `json:"id"`
// Maintenance Windows define when this node is allowed to restart. If a node
// is requested to restart, it will check each window to determine if any of
// them permit it to restart, and if any do, it will. This check is repeated
// per window until the restart is successfully completed.
//
// If not set here, may be set on the command line or via an environment variable
// on the process itself; any server setting will take precedence over local
// settings. This setting is ineffective for nodes below version 38.44.0.
//
// If this setting is not applied via this remote configuration or via local
// configuration, the default setting is used: always allow restarts if serving
// no connections, and allow a restart even if serving connections between 7-8 UTC, any day.
MaintenanceWindows []*NodeMaintenanceWindow `json:"maintenanceWindows"`
// Unique human-readable name of the proxy cluster. Names must
// include only letters, numbers, and hyphens (no spaces, underscores, or
// other special characters). Generated if not provided on create.
Name string `json:"name"`
// Tags is a map of key, value pairs.
Tags Tags `json:"tags"`
}
ProxyCluster represents a cluster of StrongDM proxies.
func (*ProxyCluster) GetID ¶
func (m *ProxyCluster) GetID() string
GetID returns the unique identifier of the ProxyCluster.
func (*ProxyCluster) GetName ¶
func (m *ProxyCluster) GetName() string
GetName returns the name of the ProxyCluster.
func (*ProxyCluster) GetTags ¶
func (m *ProxyCluster) GetTags() Tags
GetTags returns the tags of the ProxyCluster.
func (*ProxyCluster) SetName ¶
func (m *ProxyCluster) SetName(v string)
SetName sets the name of the ProxyCluster.
func (*ProxyCluster) SetTags ¶
func (m *ProxyCluster) SetTags(v Tags)
SetTags sets the tags of the ProxyCluster.
type ProxyClusterKey ¶
type ProxyClusterKey struct {
// The timestamp when this key was created.
CreatedAt time.Time `json:"createdAt"`
// Unique identifier of the Relay.
ID string `json:"id"`
// The timestamp when this key was last used, if at all.
LastUsedAt time.Time `json:"lastUsedAt"`
// The ID of the proxy cluster which this key authenticates to.
ProxyClusterID string `json:"proxyClusterId"`
}
Proxy Cluster Keys are authentication keys for all proxies within a cluster. The proxies within a cluster share the same key. One cluster can have multiple keys in order to facilitate key rotation.
type ProxyClusterKeyCreateResponse ¶
type ProxyClusterKeyCreateResponse struct {
// Reserved for future use.
Meta *CreateResponseMetadata `json:"meta"`
// The created ProxyClusterKey.
ProxyClusterKey *ProxyClusterKey `json:"proxyClusterKey"`
// Rate limit information.
RateLimit *RateLimitMetadata `json:"rateLimit"`
// The secret key component of this key. It must be saved upon creation
// because it will not be available for retrieval later.
SecretKey string `json:"secretKey"`
}
ProxyClusterKeyCreateResponse reports how the ProxyClusterKeys were created in the system.
type ProxyClusterKeyDeleteResponse ¶
type ProxyClusterKeyDeleteResponse struct {
// Reserved for future use.
Meta *DeleteResponseMetadata `json:"meta"`
// Rate limit information.
RateLimit *RateLimitMetadata `json:"rateLimit"`
}
ProxyClusterKeyDeleteResponse returns information about a ProxyClusterKey that was deleted.
type ProxyClusterKeyGetResponse ¶
type ProxyClusterKeyGetResponse struct {
// Reserved for future use.
Meta *GetResponseMetadata `json:"meta"`
// The requested ProxyClusterKey.
ProxyClusterKey *ProxyClusterKey `json:"proxyClusterKey"`
// Rate limit information.
RateLimit *RateLimitMetadata `json:"rateLimit"`
}
ProxyClusterKeyGetResponse returns a requested ProxyClusterKey.
type ProxyClusterKeyIterator ¶
type ProxyClusterKeyIterator interface {
// Next advances the iterator to the next item in the list. It returns
// true if an item is available to retrieve via the `Value()` function.
Next() bool
// Value returns the current item, if one is available.
Value() *ProxyClusterKey
// Err returns the first error encountered during iteration, if any.
Err() error
}
ProxyClusterKeyIterator provides read access to a list of ProxyClusterKey. Use it like so:
for iterator.Next() {
proxyClusterKey := iterator.Value()
// ...
}
type ProxyClusterKeys ¶
type ProxyClusterKeys struct {
// contains filtered or unexported fields
}
Proxy Cluster Keys are authentication keys for all proxies within a cluster. The proxies within a cluster share the same key. One cluster can have multiple keys in order to facilitate key rotation.
func (*ProxyClusterKeys) Create ¶
func (svc *ProxyClusterKeys) Create( ctx context.Context, proxyClusterKey *ProxyClusterKey) ( *ProxyClusterKeyCreateResponse, error)
Create registers a new ProxyClusterKey.
func (*ProxyClusterKeys) Delete ¶
func (svc *ProxyClusterKeys) Delete( ctx context.Context, id string) ( *ProxyClusterKeyDeleteResponse, error)
Delete removes a ProxyClusterKey by ID.
func (*ProxyClusterKeys) Get ¶
func (svc *ProxyClusterKeys) Get( ctx context.Context, id string) ( *ProxyClusterKeyGetResponse, error)
Get reads one ProxyClusterKey by ID.
func (*ProxyClusterKeys) List ¶
func (svc *ProxyClusterKeys) List( ctx context.Context, filter string, args ...interface{}) ( ProxyClusterKeyIterator, error)
List gets a list of ProxyClusterKeys matching a given set of criteria.
type Queries ¶
type Queries struct {
// contains filtered or unexported fields
}
A Query is a record of a single client request to a resource, such as a SQL query. Long-running SSH, RDP, or Kubernetes interactive sessions also count as queries. The Queries service is read-only.
type Query ¶
type Query struct {
// The email of the account performing this query, at the time the query was executed.
// If the account email is later changed, that change will not be reflected via this field.
AccountEmail string `json:"accountEmail"`
// The given name of the account performing this query, at the time the query was executed.
// If the account is later renamed, that change will not be reflected via this field.
AccountFirstName string `json:"accountFirstName"`
// Unique identifier of the Account that performed the Query.
AccountID string `json:"accountId"`
// The family name of the account performing this query, at the time the query was executed.
// If the account is later renamed, that change will not be reflected via this field.
AccountLastName string `json:"accountLastName"`
// The tags of the account accessed, at the time the query was executed. If the account
// tags are later changed, that change will not be reflected via this field.
AccountTags Tags `json:"accountTags"`
// Authorization metadata associated with this query.
AuthzJSON string `json:"authzJson"`
// For queries against SSH, Kubernetes, and RDP resources, this contains additional information
// about the captured query.
Capture *QueryCapture `json:"capture"`
// The IP address the Query was performed from, as detected at the StrongDM control plane.
ClientIP string `json:"clientIp"`
// The time at which the Query was completed.
// Empty if this record indicates the start of a long-running query.
CompletedAt time.Time `json:"completedAt"`
// The duration of the Query.
Duration time.Duration `json:"duration"`
// The unique ID of the node through which the Resource was accessed.
EgressNodeID string `json:"egressNodeId"`
// Indicates that the body of the Query is encrypted.
Encrypted bool `json:"encrypted"`
// Unique identifier of the Query.
ID string `json:"id"`
// The username of the IdentityAlias used to access the Resource.
IdentityAliasUsername string `json:"identityAliasUsername"`
// Driver specific metadata associated with this query.
MetadataJSON string `json:"metadataJson"`
// The captured content of the Query.
// For queries against SSH, Kubernetes, and RDP resources, this contains a JSON representation of the QueryCapture.
QueryBody string `json:"queryBody"`
// The general category of Resource against which Query was performed, e.g. "web" or "cloud".
QueryCategory string `json:"queryCategory"`
// The hash of the body of the Query.
QueryHash string `json:"queryHash"`
// The symmetric key used to encrypt the body of this Query and its replay if replayable.
// If the Query is encrypted, this field contains an encrypted symmetric key in base64 encoding.
// This key must be decrypted with the organization's private key to obtain the symmetric key needed to decrypt the body.
// If the Query is not encrypted, this field is empty.
QueryKey string `json:"queryKey"`
// The number of records returned by the Query, for a database Resource.
RecordCount int64 `json:"recordCount"`
// The username of the RemoteIdentity used to access the Resource.
RemoteIdentityUsername string `json:"remoteIdentityUsername"`
// Indicates that the Query is replayable, e.g. for some SSH or K8s sessions.
Replayable bool `json:"replayable"`
// Unique identifier of the Resource against which the Query was performed.
ResourceID string `json:"resourceId"`
// The name of the resource accessed, at the time the query was executed. If the resource
// is later renamed, that change will not be reflected via this field.
ResourceName string `json:"resourceName"`
// The tags of the resource accessed, at the time the query was executed. If the resource
// tags are later changed, that change will not be reflected via this field.
ResourceTags Tags `json:"resourceTags"`
// The specific type of Resource against which the Query was performed, e.g. "ssh" or "postgres".
ResourceType string `json:"resourceType"`
// The IP address the Query was performed from, as detected at the ingress gateway.
SourceIP string `json:"sourceIp"`
// The target destination of the query, in host:port format.
Target string `json:"target"`
// The time at which the Query was started.
Timestamp time.Time `json:"timestamp"`
}
A Query is a record of a single client request to a resource, such as a SQL query. Longer-running queries including long-running SSH commands and SSH, RDP, or Kubernetes interactive sessions will return two Query records with the same identifier, one record at the start of the query and a second record upon the completion of the query with additional detail.
type QueryCapture ¶
type QueryCapture struct {
// The command executed on the client for a Kubernetes session.
ClientCommand string `json:"clientCommand"`
// The command executed over an SSH or Kubernetes session.
Command string `json:"command"`
// The target container of a Kubernetes operation.
Container string `json:"container"`
// The environment variables for an SSH or Kubernetes session.
Env map[string]string `json:"env"`
// The remote file name of an SCP operation.
FileName string `json:"fileName"`
// The file size transferred for an SCP operation.
FileSize int64 `json:"fileSize"`
// The height of the terminal or window for SSH, Kubernetes, and RDP interactive sessions.
Height int32 `json:"height"`
// The impersonation groups of a Kubernetes operation.
ImpersonationGroups []string `json:"impersonationGroups"`
// The impersonation user of a Kubernetes operation.
ImpersonationUser string `json:"impersonationUser"`
// The target pod of a Kubernetes operation.
Pod string `json:"pod"`
// The additional impersonation groups, as granted by privilege levels, of a Kubernetes operation.
PrivilegeGroups []string `json:"privilegeGroups"`
// The HTTP request body of a Kubernetes operation.
RequestBody []byte `json:"requestBody"`
// The HTTP request method of a Kubernetes operation.
RequestMethod string `json:"requestMethod"`
// The HTTP request URI of a Kubernetes operation.
RequestURI string `json:"requestUri"`
// The CaptureType of this query capture, one of the CaptureType constants.
Type string `json:"type"`
// The width of the terminal or window for SSH, Kubernetes, and RDP interactive sessions.
Width int32 `json:"width"`
}
A QueryCapture contains additional information about queries against SSH, Kubernetes, and RDP resources.
type QueryIterator ¶
type QueryIterator interface {
// Next advances the iterator to the next item in the list. It returns
// true if an item is available to retrieve via the `Value()` function.
Next() bool
// Value returns the current item, if one is available.
Value() *Query
// Err returns the first error encountered during iteration, if any.
Err() error
}
QueryIterator provides read access to a list of Query. Use it like so:
for iterator.Next() {
query := iterator.Value()
// ...
}
type RDP ¶
type RDP struct {
// The bind interface is the IP address to which the port override of a resource is bound (for example, 127.0.0.1). It is automatically generated if not provided and may also be set to one of the ResourceIPAllocationMode constants to select between VNM, loopback, or default allocation.
BindInterface string `json:"bindInterface"`
// When set, network level authentication will not be used. May resolve unexpected authentication errors to older servers. When set, healthchecks cannot detect if a provided username / password pair is correct.
DowngradeNlaConnections bool `json:"downgradeNlaConnections"`
// A filter applied to the routing logic to pin datasource to nodes.
EgressFilter string `json:"egressFilter"`
// True if the datasource is reachable and the credentials are valid.
Healthy bool `json:"healthy"`
// The host to dial to initiate a connection from the egress node to this resource.
Hostname string `json:"hostname"`
// Unique identifier of the Resource.
ID string `json:"id"`
// The username to use for healthchecks, when clients otherwise connect with their own identity alias username.
IdentityAliasHealthcheckUsername string `json:"identityAliasHealthcheckUsername"`
// if provided use identity_set to map username to secret store path
IdentitySetID string `json:"identitySetId"`
// When set, require a resource lock to access the resource to ensure it can only be used by one user at a time.
LockRequired bool `json:"lockRequired"`
// Unique human-readable name of the Resource.
Name string `json:"name"`
// The password to authenticate with.
Password string `json:"password"`
// The port to dial to initiate a connection from the egress node to this resource.
Port int32 `json:"port"`
// The local port used by clients to connect to this resource. It is automatically generated if not provided on create and may be re-generated on update by specifying a value of -1.
PortOverride int32 `json:"portOverride"`
// ID of the proxy cluster for this resource, if any.
ProxyClusterID string `json:"proxyClusterId"`
// ID of the secret store containing credentials for this resource, if any.
SecretStoreID string `json:"secretStoreId"`
// DNS subdomain through which this resource may be accessed on clients. (e.g. "app-prod1" allows the resource to be accessed at "app-prod1.your-org-name.sdm-proxy-domain"). Only applicable to HTTP-based resources or resources using virtual networking mode.
Subdomain string `json:"subdomain"`
// Tags is a map of key, value pairs.
Tags Tags `json:"tags"`
// The username to authenticate with.
Username string `json:"username"`
}
func (*RDP) GetBindInterface ¶
GetBindInterface returns the bind interface of the RDP.
func (*RDP) GetEgressFilter ¶
GetEgressFilter returns the egress filter of the RDP.
func (*RDP) GetSecretStoreID ¶
GetSecretStoreID returns the secret store id of the RDP.
func (*RDP) SetBindInterface ¶
SetBindInterface sets the bind interface of the RDP.
func (*RDP) SetEgressFilter ¶
SetEgressFilter sets the egress filter of the RDP.
func (*RDP) SetSecretStoreID ¶
SetSecretStoreID sets the secret store id of the RDP.
type RDPCert ¶
type RDPCert struct {
// The bind interface is the IP address to which the port override of a resource is bound (for example, 127.0.0.1). It is automatically generated if not provided and may also be set to one of the ResourceIPAllocationMode constants to select between VNM, loopback, or default allocation.
BindInterface string `json:"bindInterface"`
// Comma-separated list of Active Directory Domain Controller hostnames. Required in on-premises AD environments for Kerberos Network Level Authentication (NLA), and for LDAPS SID resolution for strong certificate mapping in full enforcement mode when the identity alias does not specify a SID. Unused for Entra ID.
DcHostnames string `json:"dcHostnames"`
// A filter applied to the routing logic to pin datasource to nodes.
EgressFilter string `json:"egressFilter"`
// True if the datasource is reachable and the credentials are valid.
Healthy bool `json:"healthy"`
// The host to dial to initiate a connection from the egress node to this resource.
Hostname string `json:"hostname"`
// Unique identifier of the Resource.
ID string `json:"id"`
// Username of the AD service account for health checks, and LDAPS SID resolution if necessary. Required for on-premises AD environments, unused for Entra ID.
IdentityAliasHealthcheckUsername string `json:"identityAliasHealthcheckUsername"`
// The ID of the identity set to use for identity connections.
IdentitySetID string `json:"identitySetId"`
// When set, require a resource lock to access the resource to ensure it can only be used by one user at a time.
LockRequired bool `json:"lockRequired"`
// Unique human-readable name of the Resource.
Name string `json:"name"`
// The port to dial to initiate a connection from the egress node to this resource.
Port int32 `json:"port"`
// The local port used by clients to connect to this resource. It is automatically generated if not provided on create and may be re-generated on update by specifying a value of -1.
PortOverride int32 `json:"portOverride"`
// ID of the proxy cluster for this resource, if any.
ProxyClusterID string `json:"proxyClusterId"`
// ID of the secret store containing credentials for this resource, if any.
SecretStoreID string `json:"secretStoreId"`
// Fully-qualified DNS name of the target Windows server, including the AD domain. Must match the Service Principal Name (SPN) of the server in AD. Required in on-premises AD environments for Kerberos Network Level Authentication (NLA), unused for Entra ID.
ServerFqdn string `json:"serverFqdn"`
// Windows Security Identifier (SID) of the configured Username, or AD service account if using LDAPS SID resolution. Required in on-premises AD environments for strong certificate mapping in full enforcement mode, unused for Entra ID.
SID string `json:"sid"`
// DNS subdomain through which this resource may be accessed on clients. (e.g. "app-prod1" allows the resource to be accessed at "app-prod1.your-org-name.sdm-proxy-domain"). Only applicable to HTTP-based resources or resources using virtual networking mode.
Subdomain string `json:"subdomain"`
// Tags is a map of key, value pairs.
Tags Tags `json:"tags"`
// The username to authenticate with.
Username string `json:"username"`
}
func (*RDPCert) GetBindInterface ¶
GetBindInterface returns the bind interface of the RDPCert.
func (*RDPCert) GetEgressFilter ¶
GetEgressFilter returns the egress filter of the RDPCert.
func (*RDPCert) GetSecretStoreID ¶
GetSecretStoreID returns the secret store id of the RDPCert.
func (*RDPCert) SetBindInterface ¶
SetBindInterface sets the bind interface of the RDPCert.
func (*RDPCert) SetEgressFilter ¶
SetEgressFilter sets the egress filter of the RDPCert.
func (*RDPCert) SetSecretStoreID ¶
SetSecretStoreID sets the secret store id of the RDPCert.
type RDSPostgresIAM ¶
type RDSPostgresIAM struct {
// The bind interface is the IP address to which the port override of a resource is bound (for example, 127.0.0.1). It is automatically generated if not provided and may also be set to one of the ResourceIPAllocationMode constants to select between VNM, loopback, or default allocation.
BindInterface string `json:"bindInterface"`
// The initial database to connect to. This setting does not by itself prevent switching to another database after connecting.
Database string `json:"database"`
// A filter applied to the routing logic to pin datasource to nodes.
EgressFilter string `json:"egressFilter"`
// True if the datasource is reachable and the credentials are valid.
Healthy bool `json:"healthy"`
// The host to dial to initiate a connection from the egress node to this resource.
Hostname string `json:"hostname"`
// Unique identifier of the Resource.
ID string `json:"id"`
// Unique human-readable name of the Resource.
Name string `json:"name"`
// If set, the database configured cannot be changed by users. This setting is not recommended for most use cases, as some clients will insist their database has changed when it has not, leading to user confusion.
OverrideDatabase bool `json:"overrideDatabase"`
// The port to dial to initiate a connection from the egress node to this resource.
Port int32 `json:"port"`
// The local port used by clients to connect to this resource. It is automatically generated if not provided on create and may be re-generated on update by specifying a value of -1.
PortOverride int32 `json:"portOverride"`
// ID of the proxy cluster for this resource, if any.
ProxyClusterID string `json:"proxyClusterId"`
// The AWS region to connect to.
Region string `json:"region"`
// If provided, the gateway/relay will try to assume this role instead of the underlying compute's role.
RoleAssumptionArn string `json:"roleAssumptionArn"`
// ID of the secret store containing credentials for this resource, if any.
SecretStoreID string `json:"secretStoreId"`
// DNS subdomain through which this resource may be accessed on clients. (e.g. "app-prod1" allows the resource to be accessed at "app-prod1.your-org-name.sdm-proxy-domain"). Only applicable to HTTP-based resources or resources using virtual networking mode.
Subdomain string `json:"subdomain"`
// Tags is a map of key, value pairs.
Tags Tags `json:"tags"`
// The username to authenticate with.
Username string `json:"username"`
}
func (*RDSPostgresIAM) GetBindInterface ¶
func (m *RDSPostgresIAM) GetBindInterface() string
GetBindInterface returns the bind interface of the RDSPostgresIAM.
func (*RDSPostgresIAM) GetEgressFilter ¶
func (m *RDSPostgresIAM) GetEgressFilter() string
GetEgressFilter returns the egress filter of the RDSPostgresIAM.
func (*RDSPostgresIAM) GetID ¶
func (m *RDSPostgresIAM) GetID() string
GetID returns the unique identifier of the RDSPostgresIAM.
func (*RDSPostgresIAM) GetName ¶
func (m *RDSPostgresIAM) GetName() string
GetName returns the name of the RDSPostgresIAM.
func (*RDSPostgresIAM) GetSecretStoreID ¶
func (m *RDSPostgresIAM) GetSecretStoreID() string
GetSecretStoreID returns the secret store id of the RDSPostgresIAM.
func (*RDSPostgresIAM) GetTags ¶
func (m *RDSPostgresIAM) GetTags() Tags
GetTags returns the tags of the RDSPostgresIAM.
func (*RDSPostgresIAM) SetBindInterface ¶
func (m *RDSPostgresIAM) SetBindInterface(v string)
SetBindInterface sets the bind interface of the RDSPostgresIAM.
func (*RDSPostgresIAM) SetEgressFilter ¶
func (m *RDSPostgresIAM) SetEgressFilter(v string)
SetEgressFilter sets the egress filter of the RDSPostgresIAM.
func (*RDSPostgresIAM) SetName ¶
func (m *RDSPostgresIAM) SetName(v string)
SetName sets the name of the RDSPostgresIAM.
func (*RDSPostgresIAM) SetSecretStoreID ¶
func (m *RDSPostgresIAM) SetSecretStoreID(v string)
SetSecretStoreID sets the secret store id of the RDSPostgresIAM.
func (*RDSPostgresIAM) SetTags ¶
func (m *RDSPostgresIAM) SetTags(v Tags)
SetTags sets the tags of the RDSPostgresIAM.
type RabbitMQAMQP091 ¶
type RabbitMQAMQP091 struct {
// The bind interface is the IP address to which the port override of a resource is bound (for example, 127.0.0.1). It is automatically generated if not provided and may also be set to one of the ResourceIPAllocationMode constants to select between VNM, loopback, or default allocation.
BindInterface string `json:"bindInterface"`
// A filter applied to the routing logic to pin datasource to nodes.
EgressFilter string `json:"egressFilter"`
// True if the datasource is reachable and the credentials are valid.
Healthy bool `json:"healthy"`
// The host to dial to initiate a connection from the egress node to this resource.
Hostname string `json:"hostname"`
// Unique identifier of the Resource.
ID string `json:"id"`
// Unique human-readable name of the Resource.
Name string `json:"name"`
// The password to authenticate with.
Password string `json:"password"`
// The port to dial to initiate a connection from the egress node to this resource.
Port int32 `json:"port"`
// The local port used by clients to connect to this resource. It is automatically generated if not provided on create and may be re-generated on update by specifying a value of -1.
PortOverride int32 `json:"portOverride"`
// ID of the proxy cluster for this resource, if any.
ProxyClusterID string `json:"proxyClusterId"`
// ID of the secret store containing credentials for this resource, if any.
SecretStoreID string `json:"secretStoreId"`
// DNS subdomain through which this resource may be accessed on clients. (e.g. "app-prod1" allows the resource to be accessed at "app-prod1.your-org-name.sdm-proxy-domain"). Only applicable to HTTP-based resources or resources using virtual networking mode.
Subdomain string `json:"subdomain"`
// Tags is a map of key, value pairs.
Tags Tags `json:"tags"`
// If set, TLS must be used to connect to this resource.
TlsRequired bool `json:"tlsRequired"`
// The username to authenticate with.
Username string `json:"username"`
}
func (*RabbitMQAMQP091) GetBindInterface ¶
func (m *RabbitMQAMQP091) GetBindInterface() string
GetBindInterface returns the bind interface of the RabbitMQAMQP091.
func (*RabbitMQAMQP091) GetEgressFilter ¶
func (m *RabbitMQAMQP091) GetEgressFilter() string
GetEgressFilter returns the egress filter of the RabbitMQAMQP091.
func (*RabbitMQAMQP091) GetID ¶
func (m *RabbitMQAMQP091) GetID() string
GetID returns the unique identifier of the RabbitMQAMQP091.
func (*RabbitMQAMQP091) GetName ¶
func (m *RabbitMQAMQP091) GetName() string
GetName returns the name of the RabbitMQAMQP091.
func (*RabbitMQAMQP091) GetSecretStoreID ¶
func (m *RabbitMQAMQP091) GetSecretStoreID() string
GetSecretStoreID returns the secret store id of the RabbitMQAMQP091.
func (*RabbitMQAMQP091) GetTags ¶
func (m *RabbitMQAMQP091) GetTags() Tags
GetTags returns the tags of the RabbitMQAMQP091.
func (*RabbitMQAMQP091) SetBindInterface ¶
func (m *RabbitMQAMQP091) SetBindInterface(v string)
SetBindInterface sets the bind interface of the RabbitMQAMQP091.
func (*RabbitMQAMQP091) SetEgressFilter ¶
func (m *RabbitMQAMQP091) SetEgressFilter(v string)
SetEgressFilter sets the egress filter of the RabbitMQAMQP091.
func (*RabbitMQAMQP091) SetName ¶
func (m *RabbitMQAMQP091) SetName(v string)
SetName sets the name of the RabbitMQAMQP091.
func (*RabbitMQAMQP091) SetSecretStoreID ¶
func (m *RabbitMQAMQP091) SetSecretStoreID(v string)
SetSecretStoreID sets the secret store id of the RabbitMQAMQP091.
func (*RabbitMQAMQP091) SetTags ¶
func (m *RabbitMQAMQP091) SetTags(v Tags)
SetTags sets the tags of the RabbitMQAMQP091.
type RateLimitError ¶
type RateLimitError struct {
// Message is the error content.
Message string
// RateLimit provides information on the bucket in use, and by how much it was exceeded.
RateLimit *RateLimitMetadata
}
RateLimitError is used for rate limit excess condition
func (RateLimitError) Code ¶
func (e RateLimitError) Code() int
func (RateLimitError) Error ¶
func (e RateLimitError) Error() string
type RateLimitMetadata ¶
type RateLimitMetadata struct {
// The bucket this user/token is associated with, which may be shared between
// multiple users/tokens.
Bucket string `json:"bucket"`
// How many total requests the user/token is authorized to make before being
// rate limited.
Limit int64 `json:"limit"`
// How many remaining requests out of the limit are still avaialable.
Remaining int64 `json:"remaining"`
// The time when remaining will be reset to limit.
ResetAt time.Time `json:"resetAt"`
}
RateLimitMetadata contains information about remaining requests avaialable to the user over some timeframe.
type RawTCP ¶
type RawTCP struct {
// The bind interface is the IP address to which the port override of a resource is bound (for example, 127.0.0.1). It is automatically generated if not provided and may also be set to one of the ResourceIPAllocationMode constants to select between VNM, loopback, or default allocation.
BindInterface string `json:"bindInterface"`
// A filter applied to the routing logic to pin datasource to nodes.
EgressFilter string `json:"egressFilter"`
// True if the datasource is reachable and the credentials are valid.
Healthy bool `json:"healthy"`
// The host to dial to initiate a connection from the egress node to this resource.
Hostname string `json:"hostname"`
// Unique identifier of the Resource.
ID string `json:"id"`
// Unique human-readable name of the Resource.
Name string `json:"name"`
// The port to dial to initiate a connection from the egress node to this resource.
Port int32 `json:"port"`
// The local port used by clients to connect to this resource. It is automatically generated if not provided on create and may be re-generated on update by specifying a value of -1.
PortOverride int32 `json:"portOverride"`
// ID of the proxy cluster for this resource, if any.
ProxyClusterID string `json:"proxyClusterId"`
// ID of the secret store containing credentials for this resource, if any.
SecretStoreID string `json:"secretStoreId"`
// DNS subdomain through which this resource may be accessed on clients. (e.g. "app-prod1" allows the resource to be accessed at "app-prod1.your-org-name.sdm-proxy-domain"). Only applicable to HTTP-based resources or resources using virtual networking mode.
Subdomain string `json:"subdomain"`
// Tags is a map of key, value pairs.
Tags Tags `json:"tags"`
}
func (*RawTCP) GetBindInterface ¶
GetBindInterface returns the bind interface of the RawTCP.
func (*RawTCP) GetEgressFilter ¶
GetEgressFilter returns the egress filter of the RawTCP.
func (*RawTCP) GetSecretStoreID ¶
GetSecretStoreID returns the secret store id of the RawTCP.
func (*RawTCP) SetBindInterface ¶
SetBindInterface sets the bind interface of the RawTCP.
func (*RawTCP) SetEgressFilter ¶
SetEgressFilter sets the egress filter of the RawTCP.
func (*RawTCP) SetSecretStoreID ¶
SetSecretStoreID sets the secret store id of the RawTCP.
type Redis ¶
type Redis struct {
// The bind interface is the IP address to which the port override of a resource is bound (for example, 127.0.0.1). It is automatically generated if not provided and may also be set to one of the ResourceIPAllocationMode constants to select between VNM, loopback, or default allocation.
BindInterface string `json:"bindInterface"`
// A filter applied to the routing logic to pin datasource to nodes.
EgressFilter string `json:"egressFilter"`
// True if the datasource is reachable and the credentials are valid.
Healthy bool `json:"healthy"`
// The host to dial to initiate a connection from the egress node to this resource.
Hostname string `json:"hostname"`
// Unique identifier of the Resource.
ID string `json:"id"`
// Unique human-readable name of the Resource.
Name string `json:"name"`
// The password to authenticate with.
Password string `json:"password"`
// The port to dial to initiate a connection from the egress node to this resource.
Port int32 `json:"port"`
// The local port used by clients to connect to this resource. It is automatically generated if not provided on create and may be re-generated on update by specifying a value of -1.
PortOverride int32 `json:"portOverride"`
// ID of the proxy cluster for this resource, if any.
ProxyClusterID string `json:"proxyClusterId"`
// ID of the secret store containing credentials for this resource, if any.
SecretStoreID string `json:"secretStoreId"`
// DNS subdomain through which this resource may be accessed on clients. (e.g. "app-prod1" allows the resource to be accessed at "app-prod1.your-org-name.sdm-proxy-domain"). Only applicable to HTTP-based resources or resources using virtual networking mode.
Subdomain string `json:"subdomain"`
// Tags is a map of key, value pairs.
Tags Tags `json:"tags"`
// If set, TLS must be used to connect to this resource.
TlsRequired bool `json:"tlsRequired"`
// The username to authenticate with.
Username string `json:"username"`
}
func (*Redis) GetBindInterface ¶
GetBindInterface returns the bind interface of the Redis.
func (*Redis) GetEgressFilter ¶
GetEgressFilter returns the egress filter of the Redis.
func (*Redis) GetSecretStoreID ¶
GetSecretStoreID returns the secret store id of the Redis.
func (*Redis) SetBindInterface ¶
SetBindInterface sets the bind interface of the Redis.
func (*Redis) SetEgressFilter ¶
SetEgressFilter sets the egress filter of the Redis.
func (*Redis) SetSecretStoreID ¶
SetSecretStoreID sets the secret store id of the Redis.
type RedisCluster ¶
type RedisCluster struct {
// The bind interface is the IP address to which the port override of a resource is bound (for example, 127.0.0.1). It is automatically generated if not provided and may also be set to one of the ResourceIPAllocationMode constants to select between VNM, loopback, or default allocation.
BindInterface string `json:"bindInterface"`
// A filter applied to the routing logic to pin datasource to nodes.
EgressFilter string `json:"egressFilter"`
// True if the datasource is reachable and the credentials are valid.
Healthy bool `json:"healthy"`
// Hostname must contain the hostname/port pairs of all instances in the replica set separated by commas.
Hostname string `json:"hostname"`
// Unique identifier of the Resource.
ID string `json:"id"`
// Unique human-readable name of the Resource.
Name string `json:"name"`
// The password to authenticate with.
Password string `json:"password"`
// The port to dial to initiate a connection from the egress node to this resource.
Port int32 `json:"port"`
// The local port used by clients to connect to this resource. It is automatically generated if not provided on create and may be re-generated on update by specifying a value of -1.
PortOverride int32 `json:"portOverride"`
// ID of the proxy cluster for this resource, if any.
ProxyClusterID string `json:"proxyClusterId"`
// ID of the secret store containing credentials for this resource, if any.
SecretStoreID string `json:"secretStoreId"`
// DNS subdomain through which this resource may be accessed on clients. (e.g. "app-prod1" allows the resource to be accessed at "app-prod1.your-org-name.sdm-proxy-domain"). Only applicable to HTTP-based resources or resources using virtual networking mode.
Subdomain string `json:"subdomain"`
// Tags is a map of key, value pairs.
Tags Tags `json:"tags"`
// If set, TLS must be used to connect to this resource.
TlsRequired bool `json:"tlsRequired"`
// The username to authenticate with.
Username string `json:"username"`
}
func (*RedisCluster) GetBindInterface ¶
func (m *RedisCluster) GetBindInterface() string
GetBindInterface returns the bind interface of the RedisCluster.
func (*RedisCluster) GetEgressFilter ¶
func (m *RedisCluster) GetEgressFilter() string
GetEgressFilter returns the egress filter of the RedisCluster.
func (*RedisCluster) GetID ¶
func (m *RedisCluster) GetID() string
GetID returns the unique identifier of the RedisCluster.
func (*RedisCluster) GetName ¶
func (m *RedisCluster) GetName() string
GetName returns the name of the RedisCluster.
func (*RedisCluster) GetSecretStoreID ¶
func (m *RedisCluster) GetSecretStoreID() string
GetSecretStoreID returns the secret store id of the RedisCluster.
func (*RedisCluster) GetTags ¶
func (m *RedisCluster) GetTags() Tags
GetTags returns the tags of the RedisCluster.
func (*RedisCluster) SetBindInterface ¶
func (m *RedisCluster) SetBindInterface(v string)
SetBindInterface sets the bind interface of the RedisCluster.
func (*RedisCluster) SetEgressFilter ¶
func (m *RedisCluster) SetEgressFilter(v string)
SetEgressFilter sets the egress filter of the RedisCluster.
func (*RedisCluster) SetName ¶
func (m *RedisCluster) SetName(v string)
SetName sets the name of the RedisCluster.
func (*RedisCluster) SetSecretStoreID ¶
func (m *RedisCluster) SetSecretStoreID(v string)
SetSecretStoreID sets the secret store id of the RedisCluster.
func (*RedisCluster) SetTags ¶
func (m *RedisCluster) SetTags(v Tags)
SetTags sets the tags of the RedisCluster.
type Redshift ¶
type Redshift struct {
// The bind interface is the IP address to which the port override of a resource is bound (for example, 127.0.0.1). It is automatically generated if not provided and may also be set to one of the ResourceIPAllocationMode constants to select between VNM, loopback, or default allocation.
BindInterface string `json:"bindInterface"`
// The initial database to connect to. This setting does not by itself prevent switching to another database after connecting.
Database string `json:"database"`
// A filter applied to the routing logic to pin datasource to nodes.
EgressFilter string `json:"egressFilter"`
// True if the datasource is reachable and the credentials are valid.
Healthy bool `json:"healthy"`
// The host to dial to initiate a connection from the egress node to this resource.
Hostname string `json:"hostname"`
// Unique identifier of the Resource.
ID string `json:"id"`
// Unique human-readable name of the Resource.
Name string `json:"name"`
// If set, the database configured cannot be changed by users. This setting is not recommended for most use cases, as some clients will insist their database has changed when it has not, leading to user confusion.
OverrideDatabase bool `json:"overrideDatabase"`
// The password to authenticate with.
Password string `json:"password"`
// The port to dial to initiate a connection from the egress node to this resource.
Port int32 `json:"port"`
// The local port used by clients to connect to this resource. It is automatically generated if not provided on create and may be re-generated on update by specifying a value of -1.
PortOverride int32 `json:"portOverride"`
// ID of the proxy cluster for this resource, if any.
ProxyClusterID string `json:"proxyClusterId"`
// ID of the secret store containing credentials for this resource, if any.
SecretStoreID string `json:"secretStoreId"`
// DNS subdomain through which this resource may be accessed on clients. (e.g. "app-prod1" allows the resource to be accessed at "app-prod1.your-org-name.sdm-proxy-domain"). Only applicable to HTTP-based resources or resources using virtual networking mode.
Subdomain string `json:"subdomain"`
// Tags is a map of key, value pairs.
Tags Tags `json:"tags"`
// The username to authenticate with.
Username string `json:"username"`
}
func (*Redshift) GetBindInterface ¶
GetBindInterface returns the bind interface of the Redshift.
func (*Redshift) GetEgressFilter ¶
GetEgressFilter returns the egress filter of the Redshift.
func (*Redshift) GetSecretStoreID ¶
GetSecretStoreID returns the secret store id of the Redshift.
func (*Redshift) SetBindInterface ¶
SetBindInterface sets the bind interface of the Redshift.
func (*Redshift) SetEgressFilter ¶
SetEgressFilter sets the egress filter of the Redshift.
func (*Redshift) SetSecretStoreID ¶
SetSecretStoreID sets the secret store id of the Redshift.
type RedshiftIAM ¶
type RedshiftIAM struct {
// The bind interface is the IP address to which the port override of a resource is bound (for example, 127.0.0.1). It is automatically generated if not provided and may also be set to one of the ResourceIPAllocationMode constants to select between VNM, loopback, or default allocation.
BindInterface string `json:"bindInterface"`
// Cluster Identified of Redshift cluster
ClusterID string `json:"clusterId"`
// The initial database to connect to. This setting does not by itself prevent switching to another database after connecting.
Database string `json:"database"`
// A filter applied to the routing logic to pin datasource to nodes.
EgressFilter string `json:"egressFilter"`
// True if the datasource is reachable and the credentials are valid.
Healthy bool `json:"healthy"`
// The host to dial to initiate a connection from the egress node to this resource.
Hostname string `json:"hostname"`
// Unique identifier of the Resource.
ID string `json:"id"`
// Unique human-readable name of the Resource.
Name string `json:"name"`
// If set, the database configured cannot be changed by users. This setting is not recommended for most use cases, as some clients will insist their database has changed when it has not, leading to user confusion.
OverrideDatabase bool `json:"overrideDatabase"`
// The port to dial to initiate a connection from the egress node to this resource.
Port int32 `json:"port"`
// The local port used by clients to connect to this resource. It is automatically generated if not provided on create and may be re-generated on update by specifying a value of -1.
PortOverride int32 `json:"portOverride"`
// ID of the proxy cluster for this resource, if any.
ProxyClusterID string `json:"proxyClusterId"`
// The AWS region to connect to.
Region string `json:"region"`
// If provided, the gateway/relay will try to assume this role instead of the underlying compute's role.
RoleAssumptionArn string `json:"roleAssumptionArn"`
// ID of the secret store containing credentials for this resource, if any.
SecretStoreID string `json:"secretStoreId"`
// DNS subdomain through which this resource may be accessed on clients. (e.g. "app-prod1" allows the resource to be accessed at "app-prod1.your-org-name.sdm-proxy-domain"). Only applicable to HTTP-based resources or resources using virtual networking mode.
Subdomain string `json:"subdomain"`
// Tags is a map of key, value pairs.
Tags Tags `json:"tags"`
}
func (*RedshiftIAM) GetBindInterface ¶
func (m *RedshiftIAM) GetBindInterface() string
GetBindInterface returns the bind interface of the RedshiftIAM.
func (*RedshiftIAM) GetEgressFilter ¶
func (m *RedshiftIAM) GetEgressFilter() string
GetEgressFilter returns the egress filter of the RedshiftIAM.
func (*RedshiftIAM) GetID ¶
func (m *RedshiftIAM) GetID() string
GetID returns the unique identifier of the RedshiftIAM.
func (*RedshiftIAM) GetName ¶
func (m *RedshiftIAM) GetName() string
GetName returns the name of the RedshiftIAM.
func (*RedshiftIAM) GetSecretStoreID ¶
func (m *RedshiftIAM) GetSecretStoreID() string
GetSecretStoreID returns the secret store id of the RedshiftIAM.
func (*RedshiftIAM) GetTags ¶
func (m *RedshiftIAM) GetTags() Tags
GetTags returns the tags of the RedshiftIAM.
func (*RedshiftIAM) SetBindInterface ¶
func (m *RedshiftIAM) SetBindInterface(v string)
SetBindInterface sets the bind interface of the RedshiftIAM.
func (*RedshiftIAM) SetEgressFilter ¶
func (m *RedshiftIAM) SetEgressFilter(v string)
SetEgressFilter sets the egress filter of the RedshiftIAM.
func (*RedshiftIAM) SetName ¶
func (m *RedshiftIAM) SetName(v string)
SetName sets the name of the RedshiftIAM.
func (*RedshiftIAM) SetSecretStoreID ¶
func (m *RedshiftIAM) SetSecretStoreID(v string)
SetSecretStoreID sets the secret store id of the RedshiftIAM.
func (*RedshiftIAM) SetTags ¶
func (m *RedshiftIAM) SetTags(v Tags)
SetTags sets the tags of the RedshiftIAM.
type RedshiftServerlessIAM ¶
type RedshiftServerlessIAM struct {
// The bind interface is the IP address to which the port override of a resource is bound (for example, 127.0.0.1). It is automatically generated if not provided and may also be set to one of the ResourceIPAllocationMode constants to select between VNM, loopback, or default allocation.
BindInterface string `json:"bindInterface"`
// The initial database to connect to. This setting does not by itself prevent switching to another database after connecting.
Database string `json:"database"`
// A filter applied to the routing logic to pin datasource to nodes.
EgressFilter string `json:"egressFilter"`
// True if the datasource is reachable and the credentials are valid.
Healthy bool `json:"healthy"`
// The host to dial to initiate a connection from the egress node to this resource.
Hostname string `json:"hostname"`
// Unique identifier of the Resource.
ID string `json:"id"`
// Unique human-readable name of the Resource.
Name string `json:"name"`
// If set, the database configured cannot be changed by users. This setting is not recommended for most use cases, as some clients will insist their database has changed when it has not, leading to user confusion.
OverrideDatabase bool `json:"overrideDatabase"`
// The port to dial to initiate a connection from the egress node to this resource.
Port int32 `json:"port"`
// The local port used by clients to connect to this resource. It is automatically generated if not provided on create and may be re-generated on update by specifying a value of -1.
PortOverride int32 `json:"portOverride"`
// ID of the proxy cluster for this resource, if any.
ProxyClusterID string `json:"proxyClusterId"`
// The AWS region to connect to.
Region string `json:"region"`
// If provided, the gateway/relay will try to assume this role instead of the underlying compute's role.
RoleAssumptionArn string `json:"roleAssumptionArn"`
// ID of the secret store containing credentials for this resource, if any.
SecretStoreID string `json:"secretStoreId"`
// DNS subdomain through which this resource may be accessed on clients. (e.g. "app-prod1" allows the resource to be accessed at "app-prod1.your-org-name.sdm-proxy-domain"). Only applicable to HTTP-based resources or resources using virtual networking mode.
Subdomain string `json:"subdomain"`
// Tags is a map of key, value pairs.
Tags Tags `json:"tags"`
// Workgroup name in the serverless Redshift
Workgroup string `json:"workgroup"`
}
func (*RedshiftServerlessIAM) GetBindInterface ¶
func (m *RedshiftServerlessIAM) GetBindInterface() string
GetBindInterface returns the bind interface of the RedshiftServerlessIAM.
func (*RedshiftServerlessIAM) GetEgressFilter ¶
func (m *RedshiftServerlessIAM) GetEgressFilter() string
GetEgressFilter returns the egress filter of the RedshiftServerlessIAM.
func (*RedshiftServerlessIAM) GetID ¶
func (m *RedshiftServerlessIAM) GetID() string
GetID returns the unique identifier of the RedshiftServerlessIAM.
func (*RedshiftServerlessIAM) GetName ¶
func (m *RedshiftServerlessIAM) GetName() string
GetName returns the name of the RedshiftServerlessIAM.
func (*RedshiftServerlessIAM) GetSecretStoreID ¶
func (m *RedshiftServerlessIAM) GetSecretStoreID() string
GetSecretStoreID returns the secret store id of the RedshiftServerlessIAM.
func (*RedshiftServerlessIAM) GetTags ¶
func (m *RedshiftServerlessIAM) GetTags() Tags
GetTags returns the tags of the RedshiftServerlessIAM.
func (*RedshiftServerlessIAM) SetBindInterface ¶
func (m *RedshiftServerlessIAM) SetBindInterface(v string)
SetBindInterface sets the bind interface of the RedshiftServerlessIAM.
func (*RedshiftServerlessIAM) SetEgressFilter ¶
func (m *RedshiftServerlessIAM) SetEgressFilter(v string)
SetEgressFilter sets the egress filter of the RedshiftServerlessIAM.
func (*RedshiftServerlessIAM) SetName ¶
func (m *RedshiftServerlessIAM) SetName(v string)
SetName sets the name of the RedshiftServerlessIAM.
func (*RedshiftServerlessIAM) SetSecretStoreID ¶
func (m *RedshiftServerlessIAM) SetSecretStoreID(v string)
SetSecretStoreID sets the secret store id of the RedshiftServerlessIAM.
func (*RedshiftServerlessIAM) SetTags ¶
func (m *RedshiftServerlessIAM) SetTags(v Tags)
SetTags sets the tags of the RedshiftServerlessIAM.
type Relay ¶
type Relay struct {
// Device is a read only device name uploaded by the gateway process when
// it comes online.
Device string `json:"device"`
// GatewayFilter can be used to restrict the peering between relays and
// gateways. Deprecated.
GatewayFilter string `json:"gatewayFilter"`
// Unique identifier of the Relay.
ID string `json:"id"`
// Location is a read only network location uploaded by the gateway process
// when it comes online.
Location string `json:"location"`
// Maintenance Windows define when this node is allowed to restart. If a node
// is requested to restart, it will check each window to determine if any of
// them permit it to restart, and if any do, it will. This check is repeated
// per window until the restart is successfully completed.
//
// If not set here, may be set on the command line or via an environment variable
// on the process itself; any server setting will take precedence over local
// settings. This setting is ineffective for nodes below version 38.44.0.
//
// If this setting is not applied via this remote configuration or via local
// configuration, the default setting is used: always allow restarts if serving
// no connections, and allow a restart even if serving connections between 7-8 UTC, any day.
MaintenanceWindows []*NodeMaintenanceWindow `json:"maintenanceWindows"`
// Unique human-readable name of the Relay. Node names must include only letters, numbers, and hyphens (no spaces, underscores, or other special characters). Generated if not provided on create.
Name string `json:"name"`
// The current state of the relay, one of the NodeState constants.
State string `json:"state"`
// Tags is a map of key, value pairs.
Tags Tags `json:"tags"`
// Version is a read only sdm binary version uploaded by the gateway process
// when it comes online.
Version string `json:"version"`
}
Relay represents a StrongDM CLI installation running in relay mode.
type RemoteIdentities ¶
type RemoteIdentities struct {
// contains filtered or unexported fields
}
RemoteIdentities assign a resource directly to an account, giving the account the permission to connect to that resource.
func (*RemoteIdentities) Create ¶
func (svc *RemoteIdentities) Create( ctx context.Context, remoteIdentity *RemoteIdentity) ( *RemoteIdentityCreateResponse, error)
Create registers a new RemoteIdentity.
func (*RemoteIdentities) Delete ¶
func (svc *RemoteIdentities) Delete( ctx context.Context, id string) ( *RemoteIdentityDeleteResponse, error)
Delete removes a RemoteIdentity by ID.
func (*RemoteIdentities) Get ¶
func (svc *RemoteIdentities) Get( ctx context.Context, id string) ( *RemoteIdentityGetResponse, error)
Get reads one RemoteIdentity by ID.
func (*RemoteIdentities) List ¶
func (svc *RemoteIdentities) List( ctx context.Context, filter string, args ...interface{}) ( RemoteIdentityIterator, error)
List gets a list of RemoteIdentities matching a given set of criteria.
func (*RemoteIdentities) Update ¶
func (svc *RemoteIdentities) Update( ctx context.Context, remoteIdentity *RemoteIdentity) ( *RemoteIdentityUpdateResponse, error)
Update replaces all the fields of a RemoteIdentity by ID.
type RemoteIdentitiesHistory ¶
type RemoteIdentitiesHistory struct {
// contains filtered or unexported fields
}
RemoteIdentitiesHistory records all changes to the state of a RemoteIdentity.
func (*RemoteIdentitiesHistory) List ¶
func (svc *RemoteIdentitiesHistory) List( ctx context.Context, filter string, args ...interface{}) ( RemoteIdentityHistoryIterator, error)
List gets a list of RemoteIdentityHistory records matching a given set of criteria.
type RemoteIdentity ¶
type RemoteIdentity struct {
// The account for this remote identity.
AccountID string `json:"accountId"`
// Unique identifier of the RemoteIdentity.
ID string `json:"id"`
// The remote identity group.
RemoteIdentityGroupID string `json:"remoteIdentityGroupId"`
// The username to be used as the remote identity for this account.
Username string `json:"username"`
}
RemoteIdentities define the username to be used for a specific account when connecting to a remote resource using that group.
type RemoteIdentityCreateResponse ¶
type RemoteIdentityCreateResponse struct {
// Reserved for future use.
Meta *CreateResponseMetadata `json:"meta"`
// Rate limit information.
RateLimit *RateLimitMetadata `json:"rateLimit"`
// The created RemoteIdentity.
RemoteIdentity *RemoteIdentity `json:"remoteIdentity"`
}
RemoteIdentityCreateResponse reports how the RemoteIdentities were created in the system.
type RemoteIdentityDeleteResponse ¶
type RemoteIdentityDeleteResponse struct {
// Reserved for future use.
Meta *DeleteResponseMetadata `json:"meta"`
// Rate limit information.
RateLimit *RateLimitMetadata `json:"rateLimit"`
}
RemoteIdentityDeleteResponse returns information about a RemoteIdentity that was deleted.
type RemoteIdentityGetResponse ¶
type RemoteIdentityGetResponse struct {
// Reserved for future use.
Meta *GetResponseMetadata `json:"meta"`
// Rate limit information.
RateLimit *RateLimitMetadata `json:"rateLimit"`
// The requested RemoteIdentity.
RemoteIdentity *RemoteIdentity `json:"remoteIdentity"`
}
RemoteIdentityGetResponse returns a requested RemoteIdentity.
type RemoteIdentityGroup ¶
type RemoteIdentityGroup struct {
// Unique identifier of the RemoteIdentityGroup.
ID string `json:"id"`
// Unique human-readable name of the RemoteIdentityGroup.
Name string `json:"name"`
}
A RemoteIdentityGroup defines a group of remote identities.
type RemoteIdentityGroupGetResponse ¶
type RemoteIdentityGroupGetResponse struct {
// Reserved for future use.
Meta *GetResponseMetadata `json:"meta"`
// Rate limit information.
RateLimit *RateLimitMetadata `json:"rateLimit"`
// The requested RemoteIdentityGroup.
RemoteIdentityGroup *RemoteIdentityGroup `json:"remoteIdentityGroup"`
}
RemoteIdentityGroupGetResponse returns a requested RemoteIdentityGroup.
type RemoteIdentityGroupHistory ¶
type RemoteIdentityGroupHistory struct {
// The unique identifier of the Activity that produced this change to the RemoteIdentityGroup.
// May be empty for some system-initiated updates.
ActivityID string `json:"activityId"`
// If this RemoteIdentityGroup was deleted, the time it was deleted.
DeletedAt time.Time `json:"deletedAt"`
// The complete RemoteIdentityGroup state at this time.
RemoteIdentityGroup *RemoteIdentityGroup `json:"remoteIdentityGroup"`
// The time at which the RemoteIdentityGroup state was recorded.
Timestamp time.Time `json:"timestamp"`
}
RemoteIdentityGroupHistory records the state of a RemoteIdentityGroup at a given point in time, where every change (create, update and delete) to a RemoteIdentityGroup produces an RemoteIdentityGroupHistory record.
type RemoteIdentityGroupHistoryIterator ¶
type RemoteIdentityGroupHistoryIterator interface {
// Next advances the iterator to the next item in the list. It returns
// true if an item is available to retrieve via the `Value()` function.
Next() bool
// Value returns the current item, if one is available.
Value() *RemoteIdentityGroupHistory
// Err returns the first error encountered during iteration, if any.
Err() error
}
RemoteIdentityGroupHistoryIterator provides read access to a list of RemoteIdentityGroupHistory. Use it like so:
for iterator.Next() {
remoteIdentityGroupHistory := iterator.Value()
// ...
}
type RemoteIdentityGroupIterator ¶
type RemoteIdentityGroupIterator interface {
// Next advances the iterator to the next item in the list. It returns
// true if an item is available to retrieve via the `Value()` function.
Next() bool
// Value returns the current item, if one is available.
Value() *RemoteIdentityGroup
// Err returns the first error encountered during iteration, if any.
Err() error
}
RemoteIdentityGroupIterator provides read access to a list of RemoteIdentityGroup. Use it like so:
for iterator.Next() {
remoteIdentityGroup := iterator.Value()
// ...
}
type RemoteIdentityGroups ¶
type RemoteIdentityGroups struct {
// contains filtered or unexported fields
}
A RemoteIdentityGroup is a named grouping of Remote Identities for Accounts. An Account's relationship to a RemoteIdentityGroup is defined via RemoteIdentity objects.
func (*RemoteIdentityGroups) Get ¶
func (svc *RemoteIdentityGroups) Get( ctx context.Context, id string) ( *RemoteIdentityGroupGetResponse, error)
Get reads one RemoteIdentityGroup by ID.
func (*RemoteIdentityGroups) List ¶
func (svc *RemoteIdentityGroups) List( ctx context.Context, filter string, args ...interface{}) ( RemoteIdentityGroupIterator, error)
List gets a list of RemoteIdentityGroups matching a given set of criteria.
type RemoteIdentityGroupsHistory ¶
type RemoteIdentityGroupsHistory struct {
// contains filtered or unexported fields
}
RemoteIdentityGroupsHistory records all changes to the state of a RemoteIdentityGroup.
func (*RemoteIdentityGroupsHistory) List ¶
func (svc *RemoteIdentityGroupsHistory) List( ctx context.Context, filter string, args ...interface{}) ( RemoteIdentityGroupHistoryIterator, error)
List gets a list of RemoteIdentityGroupHistory records matching a given set of criteria.
type RemoteIdentityHistory ¶
type RemoteIdentityHistory struct {
// The unique identifier of the Activity that produced this change to the RemoteIdentity.
// May be empty for some system-initiated updates.
ActivityID string `json:"activityId"`
// If this RemoteIdentity was deleted, the time it was deleted.
DeletedAt time.Time `json:"deletedAt"`
// The complete RemoteIdentity state at this time.
RemoteIdentity *RemoteIdentity `json:"remoteIdentity"`
// The time at which the RemoteIdentity state was recorded.
Timestamp time.Time `json:"timestamp"`
}
RemoteIdentityHistory records the state of a RemoteIdentity at a given point in time, where every change (create, update and delete) to a RemoteIdentity produces an RemoteIdentityHistory record.
type RemoteIdentityHistoryIterator ¶
type RemoteIdentityHistoryIterator interface {
// Next advances the iterator to the next item in the list. It returns
// true if an item is available to retrieve via the `Value()` function.
Next() bool
// Value returns the current item, if one is available.
Value() *RemoteIdentityHistory
// Err returns the first error encountered during iteration, if any.
Err() error
}
RemoteIdentityHistoryIterator provides read access to a list of RemoteIdentityHistory. Use it like so:
for iterator.Next() {
remoteIdentityHistory := iterator.Value()
// ...
}
type RemoteIdentityIterator ¶
type RemoteIdentityIterator interface {
// Next advances the iterator to the next item in the list. It returns
// true if an item is available to retrieve via the `Value()` function.
Next() bool
// Value returns the current item, if one is available.
Value() *RemoteIdentity
// Err returns the first error encountered during iteration, if any.
Err() error
}
RemoteIdentityIterator provides read access to a list of RemoteIdentity. Use it like so:
for iterator.Next() {
remoteIdentity := iterator.Value()
// ...
}
type RemoteIdentityUpdateResponse ¶
type RemoteIdentityUpdateResponse struct {
// Reserved for future use.
Meta *UpdateResponseMetadata `json:"meta"`
// Rate limit information.
RateLimit *RateLimitMetadata `json:"rateLimit"`
// The updated RemoteIdentity.
RemoteIdentity *RemoteIdentity `json:"remoteIdentity"`
}
RemoteIdentityUpdateResponse returns the fields of a RemoteIdentity after it has been updated by a RemoteIdentityUpdateRequest.
type ReplayChunk ¶
type ReplayChunk struct {
// The raw data of the ReplayChunk. The data is encrypted if the associated Query is encrypted.
Data []byte `json:"data"`
// The list of events of the ReplayChunk. If the Query is encrypted, this field is always empty
// and the events can be obtained by decrypting the data using the QueryKey returned with the Query.
Events []*ReplayChunkEvent `json:"events"`
// If the data is encrypted, this contains the encrypted symmetric key
SymmetricKey string `json:"symmetricKey"`
}
A ReplayChunk represents a single "chunk" of data from the query replay.
type ReplayChunkEvent ¶
type ReplayChunkEvent struct {
// The raw data of the ReplayChunkEvent.
Data []byte `json:"data"`
// The time duration over which the data in this ReplayChunkEvent was transferred.
Duration time.Duration `json:"duration"`
}
A ReplayChunkEvent represents a single event within a query replay. The timing information included in each ReplayChunkEvent may be used to replay a session in real time.
type ReplayChunkIterator ¶
type ReplayChunkIterator interface {
// Next advances the iterator to the next item in the list. It returns
// true if an item is available to retrieve via the `Value()` function.
Next() bool
// Value returns the current item, if one is available.
Value() *ReplayChunk
// Err returns the first error encountered during iteration, if any.
Err() error
}
ReplayChunkIterator provides read access to a list of ReplayChunk. Use it like so:
for iterator.Next() {
replayChunk := iterator.Value()
// ...
}
type Replays ¶
type Replays struct {
// contains filtered or unexported fields
}
A Replay captures the data transferred over a long-running SSH, RDP, or Kubernetes interactive session (otherwise referred to as a query). The Replays service is read-only.
type RequestableAccountEntitlement ¶ added in v16.21.0
type RequestableAccountEntitlement struct {
// The unique identifier of the group associated with this entitlement, if any.
GroupID string `json:"groupId"`
// The mapped identity privileges for this entitlement, such as Kubernetes group memberships.
MappedIdentities *MappedIdentities `json:"mappedIdentities"`
// The unique identifier of the origin of this entitlement (e.g., an Access Workflow ID).
OriginID string `json:"originId"`
// The unique identifier of the Resource to which access can be requested.
ResourceID string `json:"resourceId"`
}
RequestableAccountEntitlement represents an individual resource that an Account is permitted to request access to.
type RequestableAccountEntitlementIterator ¶ added in v16.21.0
type RequestableAccountEntitlementIterator interface {
// Next advances the iterator to the next item in the list. It returns
// true if an item is available to retrieve via the `Value()` function.
Next() bool
// Value returns the current item, if one is available.
Value() *RequestableAccountEntitlement
// Err returns the first error encountered during iteration, if any.
Err() error
}
RequestableAccountEntitlementIterator provides read access to a list of RequestableAccountEntitlement. Use it like so:
for iterator.Next() {
requestableAccountEntitlement := iterator.Value()
// ...
}
type RequestableAccountEntitlements ¶ added in v16.21.0
type RequestableAccountEntitlements struct {
// contains filtered or unexported fields
}
RequestableAccountEntitlements enumerates the resources that an account is permitted to request access to. The RequestableAccountEntitlements service is read-only.
func (*RequestableAccountEntitlements) List ¶ added in v16.21.0
func (svc *RequestableAccountEntitlements) List( ctx context.Context, accountId string, filter string, args ...interface{}) ( RequestableAccountEntitlementIterator, error)
List gets a list of RequestableAccountEntitlement records matching a given set of criteria.
type RequestableResource ¶
type RequestableResource struct {
// The current state of the user's access to the resources
Access string `json:"access"`
// The type of authentication for the resource
Authentication string `json:"authentication"`
// The health check status of the reasource
Healthy bool `json:"healthy"`
// The resource id.
ID string `json:"id"`
// The resource name.
Name string `json:"name"`
// Any tags attached to this resource
Tags Tags `json:"tags"`
// The resource type
Type string `json:"type"`
}
RequestableResource is a resource that can be requested via an AccessRequestConfig
type RequestableResourceEntitlement ¶ added in v16.21.0
type RequestableResourceEntitlement struct {
// The unique identifier of the Account that can request access to this resource.
AccountID string `json:"accountId"`
// The unique identifier of the group associated with this entitlement, if any.
GroupID string `json:"groupId"`
// The mapped identity privileges for this entitlement, such as Kubernetes group memberships.
MappedIdentities *MappedIdentities `json:"mappedIdentities"`
// The unique identifier of the origin of this entitlement (e.g., an Access Workflow ID).
OriginID string `json:"originId"`
}
RequestableResourceEntitlement represents an individual account that is permitted to request access to a Resource.
type RequestableResourceEntitlementIterator ¶ added in v16.21.0
type RequestableResourceEntitlementIterator interface {
// Next advances the iterator to the next item in the list. It returns
// true if an item is available to retrieve via the `Value()` function.
Next() bool
// Value returns the current item, if one is available.
Value() *RequestableResourceEntitlement
// Err returns the first error encountered during iteration, if any.
Err() error
}
RequestableResourceEntitlementIterator provides read access to a list of RequestableResourceEntitlement. Use it like so:
for iterator.Next() {
requestableResourceEntitlement := iterator.Value()
// ...
}
type RequestableResourceEntitlements ¶ added in v16.21.0
type RequestableResourceEntitlements struct {
// contains filtered or unexported fields
}
RequestableResourceEntitlements enumerates the accounts that are permitted to request access to a given resource. The RequestableResourceEntitlements service is read-only.
func (*RequestableResourceEntitlements) List ¶ added in v16.21.0
func (svc *RequestableResourceEntitlements) List( ctx context.Context, resourceId string, filter string, args ...interface{}) ( RequestableResourceEntitlementIterator, error)
List gets a list of RequestableResourceEntitlement records matching a given set of criteria.
type RequestableRoleEntitlement ¶ added in v16.21.0
type RequestableRoleEntitlement struct {
// The unique identifier of the group associated with this entitlement, if any.
GroupID string `json:"groupId"`
// The mapped identity privileges for this entitlement, such as Kubernetes group memberships.
MappedIdentities *MappedIdentities `json:"mappedIdentities"`
// The unique identifier of the origin of this entitlement (e.g., an Access Workflow ID).
OriginID string `json:"originId"`
// The unique identifier of the Resource to which access can be requested through this role.
ResourceID string `json:"resourceId"`
}
RequestableRoleEntitlement represents an individual resource that a Role permits its members to request access to.
type RequestableRoleEntitlementIterator ¶ added in v16.21.0
type RequestableRoleEntitlementIterator interface {
// Next advances the iterator to the next item in the list. It returns
// true if an item is available to retrieve via the `Value()` function.
Next() bool
// Value returns the current item, if one is available.
Value() *RequestableRoleEntitlement
// Err returns the first error encountered during iteration, if any.
Err() error
}
RequestableRoleEntitlementIterator provides read access to a list of RequestableRoleEntitlement. Use it like so:
for iterator.Next() {
requestableRoleEntitlement := iterator.Value()
// ...
}
type RequestableRoleEntitlements ¶ added in v16.21.0
type RequestableRoleEntitlements struct {
// contains filtered or unexported fields
}
RequestableRoleEntitlements enumerates the resources that a role permits its members to request access to. The RequestableRoleEntitlements service is read-only.
func (*RequestableRoleEntitlements) List ¶ added in v16.21.0
func (svc *RequestableRoleEntitlements) List( ctx context.Context, roleId string, filter string, args ...interface{}) ( RequestableRoleEntitlementIterator, error)
List gets a list of RequestableRoleEntitlement records matching a given set of criteria.
type Resource ¶
type Resource interface {
// GetID returns the unique identifier of the Resource.
GetID() string
// GetName returns the name of the Resource.
GetName() string
// SetName sets the name of the Resource.
SetName(string)
// GetTags returns the tags of the Resource.
GetTags() Tags
// SetTags sets the tags of the Resource.
SetTags(Tags)
// GetSecretStoreID returns the secret store id of the Resource.
GetSecretStoreID() string
// SetSecretStoreID sets the secret store id of the Resource.
SetSecretStoreID(string)
// GetEgressFilter returns the egress filter of the Resource.
GetEgressFilter() string
// SetEgressFilter sets the egress filter of the Resource.
SetEgressFilter(string)
// GetBindInterface returns the bind interface of the Resource.
GetBindInterface() string
// SetBindInterface sets the bind interface of the Resource.
SetBindInterface(string)
// contains filtered or unexported methods
}
A Resource is a database, server, cluster, website, or cloud that strongDM delegates access to.
type ResourceCreateResponse ¶
type ResourceCreateResponse struct {
// Reserved for future use.
Meta *CreateResponseMetadata `json:"meta"`
// Rate limit information.
RateLimit *RateLimitMetadata `json:"rateLimit"`
// The created Resource.
Resource Resource `json:"resource"`
}
ResourceCreateResponse reports how the Resources were created in the system.
type ResourceDeleteResponse ¶
type ResourceDeleteResponse struct {
// Reserved for future use.
Meta *DeleteResponseMetadata `json:"meta"`
// Rate limit information.
RateLimit *RateLimitMetadata `json:"rateLimit"`
}
ResourceDeleteResponse returns information about a Resource that was deleted.
type ResourceGetResponse ¶
type ResourceGetResponse struct {
// Reserved for future use.
Meta *GetResponseMetadata `json:"meta"`
// Rate limit information.
RateLimit *RateLimitMetadata `json:"rateLimit"`
// The requested Resource.
Resource Resource `json:"resource"`
}
ResourceGetResponse returns a requested Resource.
type ResourceHealthcheckRequest ¶
type ResourceHealthcheckRequest struct {
// The unique identifier of the Resource to healthcheck.
ID string `json:"id"`
}
ResourceHealthcheckRequest specifies requesting a healthcheck for a given resource by ID.
type ResourceHealthcheckResponse ¶
type ResourceHealthcheckResponse struct {
// Reserved for future use.
Meta *UpdateResponseMetadata `json:"meta"`
// Rate limit information.
RateLimit *RateLimitMetadata `json:"rateLimit"`
}
ResourceHealthcheckResponse reports any metadata concerning a healthcheck response. Healthchecks are non blocking, and this contains no non-metadata.
type ResourceHistory ¶
type ResourceHistory struct {
// The unique identifier of the Activity that produced this change to the Resource.
// May be empty for some system-initiated updates.
ActivityID string `json:"activityId"`
// If this Resource was deleted, the time it was deleted.
DeletedAt time.Time `json:"deletedAt"`
// The complete Resource state at this time.
Resource Resource `json:"resource"`
// The time at which the Resource state was recorded.
Timestamp time.Time `json:"timestamp"`
}
ResourceHistory records the state of a Resource at a given point in time, where every change (create, update and delete) to a Resource produces an ResourceHistory record.
type ResourceHistoryIterator ¶
type ResourceHistoryIterator interface {
// Next advances the iterator to the next item in the list. It returns
// true if an item is available to retrieve via the `Value()` function.
Next() bool
// Value returns the current item, if one is available.
Value() *ResourceHistory
// Err returns the first error encountered during iteration, if any.
Err() error
}
ResourceHistoryIterator provides read access to a list of ResourceHistory. Use it like so:
for iterator.Next() {
resourceHistory := iterator.Value()
// ...
}
type ResourceIterator ¶
type ResourceIterator interface {
// Next advances the iterator to the next item in the list. It returns
// true if an item is available to retrieve via the `Value()` function.
Next() bool
// Value returns the current item, if one is available.
Value() Resource
// Err returns the first error encountered during iteration, if any.
Err() error
}
ResourceIterator provides read access to a list of Resource. Use it like so:
for iterator.Next() {
resource := iterator.Value()
// ...
}
type ResourceType ¶ added in v16.5.0
type ResourceType string
const ( ResourceTypeUnspecified ResourceType = "RESOURCE_TYPE_UNSPECIFIED" ResourceTypeAks ResourceType = "RESOURCE_TYPE_AKS" ResourceTypeAksBasicAuth ResourceType = "RESOURCE_TYPE_AKS_BASIC_AUTH" ResourceTypeAksServiceAccount ResourceType = "RESOURCE_TYPE_AKS_SERVICE_ACCOUNT" ResourceTypeAksServiceAccountUserImpersonation ResourceType = "RESOURCE_TYPE_AKS_SERVICE_ACCOUNT_USER_IMPERSONATION" ResourceTypeAksUserImpersonation ResourceType = "RESOURCE_TYPE_AKS_USER_IMPERSONATION" ResourceTypeAmazonMqamqp ResourceType = "RESOURCE_TYPE_AMAZON_MQAMQP" ResourceTypeAws ResourceType = "RESOURCE_TYPE_AWS" ResourceTypeAwsConsole ResourceType = "RESOURCE_TYPE_AWS_CONSOLE" ResourceTypeAwsConsoleStaticKeyPair ResourceType = "RESOURCE_TYPE_AWS_CONSOLE_STATIC_KEY_PAIR" ResourceTypeAwsInstanceProfile ResourceType = "RESOURCE_TYPE_AWS_INSTANCE_PROFILE" ResourceTypeAerospike ResourceType = "RESOURCE_TYPE_AEROSPIKE" ResourceTypeAmazonEks ResourceType = "RESOURCE_TYPE_AMAZON_EKS" ResourceTypeAmazonEksInstanceProfile ResourceType = "RESOURCE_TYPE_AMAZON_EKS_INSTANCE_PROFILE" ResourceTypeAmazonEksInstanceProfileUserImpersonation ResourceType = "RESOURCE_TYPE_AMAZON_EKS_INSTANCE_PROFILE_USER_IMPERSONATION" ResourceTypeAmazonEksUserImpersonation ResourceType = "RESOURCE_TYPE_AMAZON_EKS_USER_IMPERSONATION" ResourceTypeAmazonEs ResourceType = "RESOURCE_TYPE_AMAZON_ES" ResourceTypeAmazonEsiam ResourceType = "RESOURCE_TYPE_AMAZON_ESIAM" ResourceTypeAmazonMqamqp091 ResourceType = "RESOURCE_TYPE_AMAZON_MQAMQP_091" ResourceTypeAthena ResourceType = "RESOURCE_TYPE_ATHENA" ResourceTypeAthenaIam ResourceType = "RESOURCE_TYPE_ATHENA_IAM" ResourceTypeAuroraMySql ResourceType = "RESOURCE_TYPE_AURORA_MY_SQL" ResourceTypeAuroraMySqliam ResourceType = "RESOURCE_TYPE_AURORA_MY_SQLIAM" ResourceTypeAuroraPostgres ResourceType = "RESOURCE_TYPE_AURORA_POSTGRES" ResourceTypeAuroraPostgresIam ResourceType = "RESOURCE_TYPE_AURORA_POSTGRES_IAM" ResourceTypeAzure ResourceType = "RESOURCE_TYPE_AZURE" ResourceTypeAzureCert ResourceType = "RESOURCE_TYPE_AZURE_CERT" ResourceTypeAzureMySql ResourceType = "RESOURCE_TYPE_AZURE_MY_SQL" ResourceTypeAzureMySqlManagedIdentity ResourceType = "RESOURCE_TYPE_AZURE_MY_SQL_MANAGED_IDENTITY" ResourceTypeAzurePostgres ResourceType = "RESOURCE_TYPE_AZURE_POSTGRES" ResourceTypeAzurePostgresManagedIdentity ResourceType = "RESOURCE_TYPE_AZURE_POSTGRES_MANAGED_IDENTITY" ResourceTypeBigquery ResourceType = "RESOURCE_TYPE_BIGQUERY" ResourceTypeCassandra ResourceType = "RESOURCE_TYPE_CASSANDRA" ResourceTypeCitus ResourceType = "RESOURCE_TYPE_CITUS" ResourceTypeClickHouseHttp ResourceType = "RESOURCE_TYPE_CLICK_HOUSE_HTTP" ResourceTypeClickHouseMySql ResourceType = "RESOURCE_TYPE_CLICK_HOUSE_MY_SQL" ResourceTypeClickHouseTcp ResourceType = "RESOURCE_TYPE_CLICK_HOUSE_TCP" ResourceTypeClustrix ResourceType = "RESOURCE_TYPE_CLUSTRIX" ResourceTypeCockroach ResourceType = "RESOURCE_TYPE_COCKROACH" ResourceTypeCouchbaseDatabase ResourceType = "RESOURCE_TYPE_COUCHBASE_DATABASE" ResourceTypeCouchbaseWebUi ResourceType = "RESOURCE_TYPE_COUCHBASE_WEB_UI" ResourceTypeDb2I ResourceType = "RESOURCE_TYPE_DB_2_I" ResourceTypeDb2Luw ResourceType = "RESOURCE_TYPE_DB_2_LUW" ResourceTypeDatabricks ResourceType = "RESOURCE_TYPE_DATABRICKS" ResourceTypeDocumentDbHost ResourceType = "RESOURCE_TYPE_DOCUMENT_DB_HOST" ResourceTypeDocumentDbHostIam ResourceType = "RESOURCE_TYPE_DOCUMENT_DB_HOST_IAM" ResourceTypeDocumentDbReplicaSet ResourceType = "RESOURCE_TYPE_DOCUMENT_DB_REPLICA_SET" ResourceTypeDocumentDbReplicaSetIam ResourceType = "RESOURCE_TYPE_DOCUMENT_DB_REPLICA_SET_IAM" ResourceTypeDruID ResourceType = "RESOURCE_TYPE_DRUID" ResourceTypeDynamoDb ResourceType = "RESOURCE_TYPE_DYNAMO_DB" ResourceTypeDynamoDbiam ResourceType = "RESOURCE_TYPE_DYNAMO_DBIAM" ResourceTypeElastic ResourceType = "RESOURCE_TYPE_ELASTIC" ResourceTypeElastiCacheRedis ResourceType = "RESOURCE_TYPE_ELASTI_CACHE_REDIS" ResourceTypeElastiCacheRedisIam ResourceType = "RESOURCE_TYPE_ELASTI_CACHE_REDIS_IAM" ResourceTypeEntraID ResourceType = "RESOURCE_TYPE_ENTRA_ID" ResourceTypeGcp ResourceType = "RESOURCE_TYPE_GCP" ResourceTypeGcpConsole ResourceType = "RESOURCE_TYPE_GCP_CONSOLE" ResourceTypeGcpwif ResourceType = "RESOURCE_TYPE_GCPWIF" ResourceTypeGitHub ResourceType = "RESOURCE_TYPE_GIT_HUB" ResourceTypeGoogleAdmin ResourceType = "RESOURCE_TYPE_GOOGLE_ADMIN" ResourceTypeGoogleGke ResourceType = "RESOURCE_TYPE_GOOGLE_GKE" ResourceTypeGoogleGkeUserImpersonation ResourceType = "RESOURCE_TYPE_GOOGLE_GKE_USER_IMPERSONATION" ResourceTypeGoogleSpanner ResourceType = "RESOURCE_TYPE_GOOGLE_SPANNER" ResourceTypeGreenplum ResourceType = "RESOURCE_TYPE_GREENPLUM" ResourceTypeHttpAuth ResourceType = "RESOURCE_TYPE_HTTP_AUTH" ResourceTypeHttpBasic ResourceType = "RESOURCE_TYPE_HTTP_BASIC" ResourceTypeHttpNoAuth ResourceType = "RESOURCE_TYPE_HTTP_NO_AUTH" ResourceTypeKubernetes ResourceType = "RESOURCE_TYPE_KUBERNETES" ResourceTypeKubernetesBasicAuth ResourceType = "RESOURCE_TYPE_KUBERNETES_BASIC_AUTH" ResourceTypeKubernetesPodIdentity ResourceType = "RESOURCE_TYPE_KUBERNETES_POD_IDENTITY" ResourceTypeKubernetesServiceAccount ResourceType = "RESOURCE_TYPE_KUBERNETES_SERVICE_ACCOUNT" ResourceTypeKubernetesServiceAccountUserImpersonation ResourceType = "RESOURCE_TYPE_KUBERNETES_SERVICE_ACCOUNT_USER_IMPERSONATION" ResourceTypeKubernetesUserImpersonation ResourceType = "RESOURCE_TYPE_KUBERNETES_USER_IMPERSONATION" ResourceTypeMcpNoAuth ResourceType = "RESOURCE_TYPE_MCP_NO_AUTH" ResourceTypeMcp ResourceType = "RESOURCE_TYPE_MCP" ResourceTypeMcpdcr ResourceType = "RESOURCE_TYPE_MCPDCR" ResourceTypeMcppat ResourceType = "RESOURCE_TYPE_MCPPAT" ResourceTypeMtlsMySql ResourceType = "RESOURCE_TYPE_MTLS_MY_SQL" ResourceTypeMtlsPostgres ResourceType = "RESOURCE_TYPE_MTLS_POSTGRES" ResourceTypeMaria ResourceType = "RESOURCE_TYPE_MARIA" ResourceTypeMemcached ResourceType = "RESOURCE_TYPE_MEMCACHED" ResourceTypeMemSql ResourceType = "RESOURCE_TYPE_MEM_SQL" ResourceTypeMicrosoft365 ResourceType = "RESOURCE_TYPE_MICROSOFT_365" ResourceTypeMongoDbHost ResourceType = "RESOURCE_TYPE_MONGO_DB_HOST" ResourceTypeMongoDb ResourceType = "RESOURCE_TYPE_MONGO_DB" ResourceTypeMongoDbLegacyReplicaSet ResourceType = "RESOURCE_TYPE_MONGO_DB_LEGACY_REPLICA_SET" ResourceTypeMongoDbReplicaSet ResourceType = "RESOURCE_TYPE_MONGO_DB_REPLICA_SET" ResourceTypeMongoDbShardedCluster ResourceType = "RESOURCE_TYPE_MONGO_DB_SHARDED_CLUSTER" ResourceTypeMySql ResourceType = "RESOURCE_TYPE_MY_SQL" ResourceTypeNeptune ResourceType = "RESOURCE_TYPE_NEPTUNE" ResourceTypeNeptuneIam ResourceType = "RESOURCE_TYPE_NEPTUNE_IAM" ResourceTypeOktaAdmin ResourceType = "RESOURCE_TYPE_OKTA_ADMIN" ResourceTypeOktaGroups ResourceType = "RESOURCE_TYPE_OKTA_GROUPS" ResourceTypeOracle ResourceType = "RESOURCE_TYPE_ORACLE" ResourceTypeOracleNne ResourceType = "RESOURCE_TYPE_ORACLE_NNE" ResourceTypePostgres ResourceType = "RESOURCE_TYPE_POSTGRES" ResourceTypePresto ResourceType = "RESOURCE_TYPE_PRESTO" ResourceTypeRdp ResourceType = "RESOURCE_TYPE_RDP" ResourceTypeRdpCert ResourceType = "RESOURCE_TYPE_RDP_CERT" ResourceTypeRdsPostgresIam ResourceType = "RESOURCE_TYPE_RDS_POSTGRES_IAM" ResourceTypeRabbitMqamqp091 ResourceType = "RESOURCE_TYPE_RABBIT_MQAMQP_091" ResourceTypeTcp ResourceType = "RESOURCE_TYPE_TCP" ResourceTypeRedis ResourceType = "RESOURCE_TYPE_REDIS" ResourceTypeRedisCluster ResourceType = "RESOURCE_TYPE_REDIS_CLUSTER" ResourceTypeRedshift ResourceType = "RESOURCE_TYPE_REDSHIFT" ResourceTypeRedshiftIam ResourceType = "RESOURCE_TYPE_REDSHIFT_IAM" ResourceTypeRedshiftServerlessIam ResourceType = "RESOURCE_TYPE_REDSHIFT_SERVERLESS_IAM" ResourceTypeSqlServer ResourceType = "RESOURCE_TYPE_SQL_SERVER" ResourceTypeSqlServerAzureAd ResourceType = "RESOURCE_TYPE_SQL_SERVER_AZURE_AD" ResourceTypeSqlServerKerberos ResourceType = "RESOURCE_TYPE_SQL_SERVER_KERBEROS" ResourceTypeSsh ResourceType = "RESOURCE_TYPE_SSH" ResourceTypeSshCert ResourceType = "RESOURCE_TYPE_SSH_CERT" ResourceTypeSshCertUserProvision ResourceType = "RESOURCE_TYPE_SSH_CERT_USER_PROVISION" ResourceTypeSshCustomerKey ResourceType = "RESOURCE_TYPE_SSH_CUSTOMER_KEY" ResourceTypeSshPassword ResourceType = "RESOURCE_TYPE_SSH_PASSWORD" ResourceTypeSalesforce ResourceType = "RESOURCE_TYPE_SALESFORCE" ResourceTypeSingleStore ResourceType = "RESOURCE_TYPE_SINGLE_STORE" ResourceTypeSnowflake ResourceType = "RESOURCE_TYPE_SNOWFLAKE" ResourceTypeSnowsight ResourceType = "RESOURCE_TYPE_SNOWSIGHT" ResourceTypeSybaseAse ResourceType = "RESOURCE_TYPE_SYBASE_ASE" ResourceTypeSybaseIq ResourceType = "RESOURCE_TYPE_SYBASE_IQ" ResourceTypeTeradata ResourceType = "RESOURCE_TYPE_TERADATA" ResourceTypeTrino ResourceType = "RESOURCE_TYPE_TRINO" ResourceTypeVertica ResourceType = "RESOURCE_TYPE_VERTICA" )
type ResourceUpdateResponse ¶
type ResourceUpdateResponse struct {
// Reserved for future use.
Meta *UpdateResponseMetadata `json:"meta"`
// Rate limit information.
RateLimit *RateLimitMetadata `json:"rateLimit"`
// The updated Resource.
Resource Resource `json:"resource"`
}
ResourceUpdateResponse returns the fields of a Resource after it has been updated by a ResourceUpdateRequest.
type Resources ¶
type Resources struct {
// contains filtered or unexported fields
}
Resources are databases, servers, clusters, websites, or clouds that strongDM delegates access to.
func (*Resources) Create ¶
func (svc *Resources) Create( ctx context.Context, resource Resource) ( *ResourceCreateResponse, error)
Create registers a new Resource.
func (*Resources) EnumerateTags ¶
func (svc *Resources) EnumerateTags( ctx context.Context, filter string, args ...interface{}) ( TagIterator, error)
EnumerateTags gets a list of the filter matching tags.
func (*Resources) Healthcheck ¶
func (svc *Resources) Healthcheck( ctx context.Context, id string) ( *ResourceHealthcheckResponse, error)
Healthcheck triggers a remote healthcheck. It may take minutes to propagate across a large network of Nodes. The call will return immediately, and the updated health of the Resource can be retrieved via Get or List.
type ResourcesHistory ¶
type ResourcesHistory struct {
// contains filtered or unexported fields
}
ResourcesHistory records all changes to the state of a Resource.
func (*ResourcesHistory) List ¶
func (svc *ResourcesHistory) List( ctx context.Context, filter string, args ...interface{}) ( ResourceHistoryIterator, error)
List gets a list of ResourceHistory records matching a given set of criteria.
type Role ¶
type Role struct {
// AccessRules is a list of access rules defining the resources this Role has access to.
AccessRules AccessRules `json:"accessRules"`
// Unique identifier of the Role.
ID string `json:"id"`
// Managed By is a read only field for what service manages this role, e.g. StrongDM, Okta, Azure.
ManagedBy string `json:"managedBy"`
// Unique human-readable name of the Role.
Name string `json:"name"`
// Tags is a map of key, value pairs.
Tags Tags `json:"tags"`
}
A Role has a list of access rules which determine which Resources the members of the Role have access to. An Account can be a member of multiple Roles via AccountAttachments.
type RoleCreateResponse ¶
type RoleCreateResponse struct {
// Reserved for future use.
Meta *CreateResponseMetadata `json:"meta"`
// Rate limit information.
RateLimit *RateLimitMetadata `json:"rateLimit"`
// The created Role.
Role *Role `json:"role"`
}
RoleCreateResponse reports how the Roles were created in the system. It can communicate partial successes or failures.
type RoleDeleteResponse ¶
type RoleDeleteResponse struct {
// Reserved for future use.
Meta *DeleteResponseMetadata `json:"meta"`
// Rate limit information.
RateLimit *RateLimitMetadata `json:"rateLimit"`
}
RoleDeleteResponse returns information about a Role that was deleted.
type RoleGetResponse ¶
type RoleGetResponse struct {
// Reserved for future use.
Meta *GetResponseMetadata `json:"meta"`
// Rate limit information.
RateLimit *RateLimitMetadata `json:"rateLimit"`
// The requested Role.
Role *Role `json:"role"`
}
RoleGetResponse returns a requested Role.
type RoleHistory ¶
type RoleHistory struct {
// The unique identifier of the Activity that produced this change to the Role.
// May be empty for some system-initiated updates.
ActivityID string `json:"activityId"`
// If this Role was deleted, the time it was deleted.
DeletedAt time.Time `json:"deletedAt"`
// The complete Role state at this time.
Role *Role `json:"role"`
// The time at which the Role state was recorded.
Timestamp time.Time `json:"timestamp"`
}
RoleHistory records the state of a Role at a given point in time, where every change (create, update and delete) to a Role produces an RoleHistory record.
type RoleHistoryIterator ¶
type RoleHistoryIterator interface {
// Next advances the iterator to the next item in the list. It returns
// true if an item is available to retrieve via the `Value()` function.
Next() bool
// Value returns the current item, if one is available.
Value() *RoleHistory
// Err returns the first error encountered during iteration, if any.
Err() error
}
RoleHistoryIterator provides read access to a list of RoleHistory. Use it like so:
for iterator.Next() {
roleHistory := iterator.Value()
// ...
}
type RoleIterator ¶
type RoleIterator interface {
// Next advances the iterator to the next item in the list. It returns
// true if an item is available to retrieve via the `Value()` function.
Next() bool
// Value returns the current item, if one is available.
Value() *Role
// Err returns the first error encountered during iteration, if any.
Err() error
}
RoleIterator provides read access to a list of Role. Use it like so:
for iterator.Next() {
role := iterator.Value()
// ...
}
type RoleResource ¶
type RoleResource struct {
// The most recent time at which access was granted. If access was granted,
// revoked, and granted again, this will reflect the later time.
GrantedAt time.Time `json:"grantedAt"`
// The unique identifier of the Resource to which access is granted.
ResourceID string `json:"resourceId"`
// The unique identifier of the Role to which access is granted.
RoleID string `json:"roleId"`
}
RoleResource represents an individual access grant of a Role to a Resource.
type RoleResourceHistory ¶
type RoleResourceHistory struct {
// The unique identifier of the Activity that produced this change to the RoleResource.
// May be empty for some system-initiated updates.
ActivityID string `json:"activityId"`
// If this RoleResource was deleted, the time it was deleted.
DeletedAt time.Time `json:"deletedAt"`
// The complete RoleResource state at this time.
RoleResource *RoleResource `json:"roleResource"`
// The time at which the RoleResource state was recorded.
Timestamp time.Time `json:"timestamp"`
}
RoleResourceHistory records the state of a RoleResource at a given point in time, where every change (create or delete) to a RoleResource produces an RoleResourceHistory record.
type RoleResourceHistoryIterator ¶
type RoleResourceHistoryIterator interface {
// Next advances the iterator to the next item in the list. It returns
// true if an item is available to retrieve via the `Value()` function.
Next() bool
// Value returns the current item, if one is available.
Value() *RoleResourceHistory
// Err returns the first error encountered during iteration, if any.
Err() error
}
RoleResourceHistoryIterator provides read access to a list of RoleResourceHistory. Use it like so:
for iterator.Next() {
roleResourceHistory := iterator.Value()
// ...
}
type RoleResourceIterator ¶
type RoleResourceIterator interface {
// Next advances the iterator to the next item in the list. It returns
// true if an item is available to retrieve via the `Value()` function.
Next() bool
// Value returns the current item, if one is available.
Value() *RoleResource
// Err returns the first error encountered during iteration, if any.
Err() error
}
RoleResourceIterator provides read access to a list of RoleResource. Use it like so:
for iterator.Next() {
roleResource := iterator.Value()
// ...
}
type RoleResources ¶
type RoleResources struct {
// contains filtered or unexported fields
}
RoleResources enumerates the resources to which roles have access. The RoleResources service is read-only.
func (*RoleResources) List ¶
func (svc *RoleResources) List( ctx context.Context, filter string, args ...interface{}) ( RoleResourceIterator, error)
List gets a list of RoleResource records matching a given set of criteria.
type RoleResourcesHistory ¶
type RoleResourcesHistory struct {
// contains filtered or unexported fields
}
RoleResourcesHistory records all changes to the state of a RoleResource.
func (*RoleResourcesHistory) List ¶
func (svc *RoleResourcesHistory) List( ctx context.Context, filter string, args ...interface{}) ( RoleResourceHistoryIterator, error)
List gets a list of RoleResourceHistory records matching a given set of criteria.
type RoleUpdateResponse ¶
type RoleUpdateResponse struct {
// Reserved for future use.
Meta *UpdateResponseMetadata `json:"meta"`
// Rate limit information.
RateLimit *RateLimitMetadata `json:"rateLimit"`
// The updated Role.
Role *Role `json:"role"`
}
RoleUpdateResponse returns the fields of a Role after it has been updated by a RoleUpdateRequest.
type Roles ¶
type Roles struct {
// contains filtered or unexported fields
}
A Role has a list of access rules which determine which Resources the members of the Role have access to. An Account can be a member of multiple Roles via AccountAttachments.
type RolesHistory ¶
type RolesHistory struct {
// contains filtered or unexported fields
}
RolesHistory records all changes to the state of a Role.
func (*RolesHistory) List ¶
func (svc *RolesHistory) List( ctx context.Context, filter string, args ...interface{}) ( RoleHistoryIterator, error)
List gets a list of RoleHistory records matching a given set of criteria.
type SQLServer ¶
type SQLServer struct {
// Whether to allow deprecated encryption protocols to be used for this resource. For example,
// TLS 1.0.
AllowDeprecatedEncryption bool `json:"allowDeprecatedEncryption"`
// The bind interface is the IP address to which the port override of a resource is bound (for example, 127.0.0.1). It is automatically generated if not provided and may also be set to one of the ResourceIPAllocationMode constants to select between VNM, loopback, or default allocation.
BindInterface string `json:"bindInterface"`
// The database for healthchecks, and used for clients if Override Default Database is true.
Database string `json:"database"`
// A filter applied to the routing logic to pin datasource to nodes.
EgressFilter string `json:"egressFilter"`
// True if the datasource is reachable and the credentials are valid.
Healthy bool `json:"healthy"`
// The host to dial to initiate a connection from the egress node to this resource.
Hostname string `json:"hostname"`
// Unique identifier of the Resource.
ID string `json:"id"`
// Unique human-readable name of the Resource.
Name string `json:"name"`
// If set, the database configured cannot be changed by users. This setting is not recommended for most use cases, as some clients will insist their database has changed when it has not, leading to user confusion.
OverrideDatabase bool `json:"overrideDatabase"`
// The password to authenticate with.
Password string `json:"password"`
// The port to dial to initiate a connection from the egress node to this resource.
Port int32 `json:"port"`
// The local port used by clients to connect to this resource. It is automatically generated if not provided on create and may be re-generated on update by specifying a value of -1.
PortOverride int32 `json:"portOverride"`
// ID of the proxy cluster for this resource, if any.
ProxyClusterID string `json:"proxyClusterId"`
// The Schema to use to direct initial requests.
Schema string `json:"schema"`
// ID of the secret store containing credentials for this resource, if any.
SecretStoreID string `json:"secretStoreId"`
// DNS subdomain through which this resource may be accessed on clients. (e.g. "app-prod1" allows the resource to be accessed at "app-prod1.your-org-name.sdm-proxy-domain"). Only applicable to HTTP-based resources or resources using virtual networking mode.
Subdomain string `json:"subdomain"`
// Tags is a map of key, value pairs.
Tags Tags `json:"tags"`
// The username to authenticate with.
Username string `json:"username"`
}
func (*SQLServer) GetBindInterface ¶
GetBindInterface returns the bind interface of the SQLServer.
func (*SQLServer) GetEgressFilter ¶
GetEgressFilter returns the egress filter of the SQLServer.
func (*SQLServer) GetSecretStoreID ¶
GetSecretStoreID returns the secret store id of the SQLServer.
func (*SQLServer) SetBindInterface ¶
SetBindInterface sets the bind interface of the SQLServer.
func (*SQLServer) SetEgressFilter ¶
SetEgressFilter sets the egress filter of the SQLServer.
func (*SQLServer) SetSecretStoreID ¶
SetSecretStoreID sets the secret store id of the SQLServer.
type SQLServerAzureAD ¶
type SQLServerAzureAD struct {
// Whether to allow deprecated encryption protocols to be used for this resource. For example,
// TLS 1.0.
AllowDeprecatedEncryption bool `json:"allowDeprecatedEncryption"`
// The bind interface is the IP address to which the port override of a resource is bound (for example, 127.0.0.1). It is automatically generated if not provided and may also be set to one of the ResourceIPAllocationMode constants to select between VNM, loopback, or default allocation.
BindInterface string `json:"bindInterface"`
// The Azure AD application (client) ID with which to authenticate.
ClientID string `json:"clientId"`
// The database for healthchecks, and used for clients if Override Default Database is true.
Database string `json:"database"`
// A filter applied to the routing logic to pin datasource to nodes.
EgressFilter string `json:"egressFilter"`
// True if the datasource is reachable and the credentials are valid.
Healthy bool `json:"healthy"`
// The host to dial to initiate a connection from the egress node to this resource.
Hostname string `json:"hostname"`
// Unique identifier of the Resource.
ID string `json:"id"`
// Unique human-readable name of the Resource.
Name string `json:"name"`
// If set, the database configured cannot be changed by users. This setting is not recommended for most use cases, as some clients will insist their database has changed when it has not, leading to user confusion.
OverrideDatabase bool `json:"overrideDatabase"`
// The port to dial to initiate a connection from the egress node to this resource.
Port int32 `json:"port"`
// The local port used by clients to connect to this resource. It is automatically generated if not provided on create and may be re-generated on update by specifying a value of -1.
PortOverride int32 `json:"portOverride"`
// ID of the proxy cluster for this resource, if any.
ProxyClusterID string `json:"proxyClusterId"`
// The Schema to use to direct initial requests.
Schema string `json:"schema"`
// The Azure AD client secret (application password) with which to authenticate.
Secret string `json:"secret"`
// ID of the secret store containing credentials for this resource, if any.
SecretStoreID string `json:"secretStoreId"`
// DNS subdomain through which this resource may be accessed on clients. (e.g. "app-prod1" allows the resource to be accessed at "app-prod1.your-org-name.sdm-proxy-domain"). Only applicable to HTTP-based resources or resources using virtual networking mode.
Subdomain string `json:"subdomain"`
// Tags is a map of key, value pairs.
Tags Tags `json:"tags"`
// The Azure AD directory (tenant) ID with which to authenticate.
TenantID string `json:"tenantId"`
}
func (*SQLServerAzureAD) GetBindInterface ¶
func (m *SQLServerAzureAD) GetBindInterface() string
GetBindInterface returns the bind interface of the SQLServerAzureAD.
func (*SQLServerAzureAD) GetEgressFilter ¶
func (m *SQLServerAzureAD) GetEgressFilter() string
GetEgressFilter returns the egress filter of the SQLServerAzureAD.
func (*SQLServerAzureAD) GetID ¶
func (m *SQLServerAzureAD) GetID() string
GetID returns the unique identifier of the SQLServerAzureAD.
func (*SQLServerAzureAD) GetName ¶
func (m *SQLServerAzureAD) GetName() string
GetName returns the name of the SQLServerAzureAD.
func (*SQLServerAzureAD) GetSecretStoreID ¶
func (m *SQLServerAzureAD) GetSecretStoreID() string
GetSecretStoreID returns the secret store id of the SQLServerAzureAD.
func (*SQLServerAzureAD) GetTags ¶
func (m *SQLServerAzureAD) GetTags() Tags
GetTags returns the tags of the SQLServerAzureAD.
func (*SQLServerAzureAD) SetBindInterface ¶
func (m *SQLServerAzureAD) SetBindInterface(v string)
SetBindInterface sets the bind interface of the SQLServerAzureAD.
func (*SQLServerAzureAD) SetEgressFilter ¶
func (m *SQLServerAzureAD) SetEgressFilter(v string)
SetEgressFilter sets the egress filter of the SQLServerAzureAD.
func (*SQLServerAzureAD) SetName ¶
func (m *SQLServerAzureAD) SetName(v string)
SetName sets the name of the SQLServerAzureAD.
func (*SQLServerAzureAD) SetSecretStoreID ¶
func (m *SQLServerAzureAD) SetSecretStoreID(v string)
SetSecretStoreID sets the secret store id of the SQLServerAzureAD.
func (*SQLServerAzureAD) SetTags ¶
func (m *SQLServerAzureAD) SetTags(v Tags)
SetTags sets the tags of the SQLServerAzureAD.
type SQLServerKerberosAD ¶
type SQLServerKerberosAD struct {
// Whether to allow deprecated encryption protocols to be used for this resource. For example,
// TLS 1.0.
AllowDeprecatedEncryption bool `json:"allowDeprecatedEncryption"`
// The bind interface is the IP address to which the port override of a resource is bound (for example, 127.0.0.1). It is automatically generated if not provided and may also be set to one of the ResourceIPAllocationMode constants to select between VNM, loopback, or default allocation.
BindInterface string `json:"bindInterface"`
// The database for healthchecks, and used for clients if Override Default Database is true.
Database string `json:"database"`
// A filter applied to the routing logic to pin datasource to nodes.
EgressFilter string `json:"egressFilter"`
// True if the datasource is reachable and the credentials are valid.
Healthy bool `json:"healthy"`
// The host to dial to initiate a connection from the egress node to this resource.
Hostname string `json:"hostname"`
// Unique identifier of the Resource.
ID string `json:"id"`
// The keytab file in base64 format containing an entry with the principal name (username@realm) and key version number with which to authenticate.
Keytab string `json:"keytab"`
// The Kerberos 5 configuration file (krb5.conf) specifying the Active Directory server (KDC) for the configured realm.
KrbConfig string `json:"krbConfig"`
// Unique human-readable name of the Resource.
Name string `json:"name"`
// If set, the database configured cannot be changed by users. This setting is not recommended for most use cases, as some clients will insist their database has changed when it has not, leading to user confusion.
OverrideDatabase bool `json:"overrideDatabase"`
// The port to dial to initiate a connection from the egress node to this resource.
Port int32 `json:"port"`
// The local port used by clients to connect to this resource. It is automatically generated if not provided on create and may be re-generated on update by specifying a value of -1.
PortOverride int32 `json:"portOverride"`
// ID of the proxy cluster for this resource, if any.
ProxyClusterID string `json:"proxyClusterId"`
// The Active Directory domain (realm) to which the configured username belongs.
Realm string `json:"realm"`
// The Schema to use to direct initial requests.
Schema string `json:"schema"`
// ID of the secret store containing credentials for this resource, if any.
SecretStoreID string `json:"secretStoreId"`
// The Service Principal Name of the Microsoft SQL Server instance in Active Directory.
ServerSpn string `json:"serverSpn"`
// DNS subdomain through which this resource may be accessed on clients. (e.g. "app-prod1" allows the resource to be accessed at "app-prod1.your-org-name.sdm-proxy-domain"). Only applicable to HTTP-based resources or resources using virtual networking mode.
Subdomain string `json:"subdomain"`
// Tags is a map of key, value pairs.
Tags Tags `json:"tags"`
// The username to authenticate with.
Username string `json:"username"`
}
func (*SQLServerKerberosAD) GetBindInterface ¶
func (m *SQLServerKerberosAD) GetBindInterface() string
GetBindInterface returns the bind interface of the SQLServerKerberosAD.
func (*SQLServerKerberosAD) GetEgressFilter ¶
func (m *SQLServerKerberosAD) GetEgressFilter() string
GetEgressFilter returns the egress filter of the SQLServerKerberosAD.
func (*SQLServerKerberosAD) GetID ¶
func (m *SQLServerKerberosAD) GetID() string
GetID returns the unique identifier of the SQLServerKerberosAD.
func (*SQLServerKerberosAD) GetName ¶
func (m *SQLServerKerberosAD) GetName() string
GetName returns the name of the SQLServerKerberosAD.
func (*SQLServerKerberosAD) GetSecretStoreID ¶
func (m *SQLServerKerberosAD) GetSecretStoreID() string
GetSecretStoreID returns the secret store id of the SQLServerKerberosAD.
func (*SQLServerKerberosAD) GetTags ¶
func (m *SQLServerKerberosAD) GetTags() Tags
GetTags returns the tags of the SQLServerKerberosAD.
func (*SQLServerKerberosAD) SetBindInterface ¶
func (m *SQLServerKerberosAD) SetBindInterface(v string)
SetBindInterface sets the bind interface of the SQLServerKerberosAD.
func (*SQLServerKerberosAD) SetEgressFilter ¶
func (m *SQLServerKerberosAD) SetEgressFilter(v string)
SetEgressFilter sets the egress filter of the SQLServerKerberosAD.
func (*SQLServerKerberosAD) SetName ¶
func (m *SQLServerKerberosAD) SetName(v string)
SetName sets the name of the SQLServerKerberosAD.
func (*SQLServerKerberosAD) SetSecretStoreID ¶
func (m *SQLServerKerberosAD) SetSecretStoreID(v string)
SetSecretStoreID sets the secret store id of the SQLServerKerberosAD.
func (*SQLServerKerberosAD) SetTags ¶
func (m *SQLServerKerberosAD) SetTags(v Tags)
SetTags sets the tags of the SQLServerKerberosAD.
type SSH ¶
type SSH struct {
// Whether deprecated, insecure key exchanges are allowed for use to connect to the target ssh server.
AllowDeprecatedKeyExchanges bool `json:"allowDeprecatedKeyExchanges"`
// The bind interface is the IP address to which the port override of a resource is bound (for example, 127.0.0.1). It is automatically generated if not provided and may also be set to one of the ResourceIPAllocationMode constants to select between VNM, loopback, or default allocation.
BindInterface string `json:"bindInterface"`
// A filter applied to the routing logic to pin datasource to nodes.
EgressFilter string `json:"egressFilter"`
// True if the datasource is reachable and the credentials are valid.
Healthy bool `json:"healthy"`
// The host to dial to initiate a connection from the egress node to this resource.
Hostname string `json:"hostname"`
// Unique identifier of the Resource.
ID string `json:"id"`
// The key type to use e.g. rsa-2048 or ed25519
KeyType string `json:"keyType"`
// When set, require a resource lock to access the resource to ensure it can only be used by one user at a time.
LockRequired bool `json:"lockRequired"`
// Unique human-readable name of the Resource.
Name string `json:"name"`
// The port to dial to initiate a connection from the egress node to this resource.
Port int32 `json:"port"`
// Whether port forwarding is allowed through this server.
PortForwarding bool `json:"portForwarding"`
// The local port used by clients to connect to this resource. It is automatically generated if not provided on create and may be re-generated on update by specifying a value of -1.
PortOverride int32 `json:"portOverride"`
// ID of the proxy cluster for this resource, if any.
ProxyClusterID string `json:"proxyClusterId"`
// The public key to append to a server's authorized keys. This will be generated after resource creation.
PublicKey string `json:"publicKey"`
// ID of the secret store containing credentials for this resource, if any.
SecretStoreID string `json:"secretStoreId"`
// DNS subdomain through which this resource may be accessed on clients. (e.g. "app-prod1" allows the resource to be accessed at "app-prod1.your-org-name.sdm-proxy-domain"). Only applicable to HTTP-based resources or resources using virtual networking mode.
Subdomain string `json:"subdomain"`
// Tags is a map of key, value pairs.
Tags Tags `json:"tags"`
// The username to authenticate with.
Username string `json:"username"`
}
func (*SSH) GetBindInterface ¶
GetBindInterface returns the bind interface of the SSH.
func (*SSH) GetEgressFilter ¶
GetEgressFilter returns the egress filter of the SSH.
func (*SSH) GetSecretStoreID ¶
GetSecretStoreID returns the secret store id of the SSH.
func (*SSH) SetBindInterface ¶
SetBindInterface sets the bind interface of the SSH.
func (*SSH) SetEgressFilter ¶
SetEgressFilter sets the egress filter of the SSH.
func (*SSH) SetSecretStoreID ¶
SetSecretStoreID sets the secret store id of the SSH.
type SSHCert ¶
type SSHCert struct {
// Whether deprecated, insecure key exchanges are allowed for use to connect to the target ssh server.
AllowDeprecatedKeyExchanges bool `json:"allowDeprecatedKeyExchanges"`
// The bind interface is the IP address to which the port override of a resource is bound (for example, 127.0.0.1). It is automatically generated if not provided and may also be set to one of the ResourceIPAllocationMode constants to select between VNM, loopback, or default allocation.
BindInterface string `json:"bindInterface"`
// A filter applied to the routing logic to pin datasource to nodes.
EgressFilter string `json:"egressFilter"`
// True if the datasource is reachable and the credentials are valid.
Healthy bool `json:"healthy"`
// The host to dial to initiate a connection from the egress node to this resource.
Hostname string `json:"hostname"`
// Unique identifier of the Resource.
ID string `json:"id"`
// The username to use for healthchecks, when clients otherwise connect with their own identity alias username.
IdentityAliasHealthcheckUsername string `json:"identityAliasHealthcheckUsername"`
// The ID of the identity set to use for identity connections.
IdentitySetID string `json:"identitySetId"`
// The key type to use e.g. rsa-2048 or ed25519
KeyType string `json:"keyType"`
// When set, require a resource lock to access the resource to ensure it can only be used by one user at a time.
LockRequired bool `json:"lockRequired"`
// Unique human-readable name of the Resource.
Name string `json:"name"`
// The port to dial to initiate a connection from the egress node to this resource.
Port int32 `json:"port"`
// Whether port forwarding is allowed through this server.
PortForwarding bool `json:"portForwarding"`
// The local port used by clients to connect to this resource. It is automatically generated if not provided on create and may be re-generated on update by specifying a value of -1.
PortOverride int32 `json:"portOverride"`
// ID of the proxy cluster for this resource, if any.
ProxyClusterID string `json:"proxyClusterId"`
// ID of the secret store containing credentials for this resource, if any.
SecretStoreID string `json:"secretStoreId"`
// DNS subdomain through which this resource may be accessed on clients. (e.g. "app-prod1" allows the resource to be accessed at "app-prod1.your-org-name.sdm-proxy-domain"). Only applicable to HTTP-based resources or resources using virtual networking mode.
Subdomain string `json:"subdomain"`
// Tags is a map of key, value pairs.
Tags Tags `json:"tags"`
// The username to authenticate with.
Username string `json:"username"`
}
func (*SSHCert) GetBindInterface ¶
GetBindInterface returns the bind interface of the SSHCert.
func (*SSHCert) GetEgressFilter ¶
GetEgressFilter returns the egress filter of the SSHCert.
func (*SSHCert) GetSecretStoreID ¶
GetSecretStoreID returns the secret store id of the SSHCert.
func (*SSHCert) SetBindInterface ¶
SetBindInterface sets the bind interface of the SSHCert.
func (*SSHCert) SetEgressFilter ¶
SetEgressFilter sets the egress filter of the SSHCert.
func (*SSHCert) SetSecretStoreID ¶
SetSecretStoreID sets the secret store id of the SSHCert.
type SSHCustomerKey ¶
type SSHCustomerKey struct {
// Whether deprecated, insecure key exchanges are allowed for use to connect to the target ssh server.
AllowDeprecatedKeyExchanges bool `json:"allowDeprecatedKeyExchanges"`
// The bind interface is the IP address to which the port override of a resource is bound (for example, 127.0.0.1). It is automatically generated if not provided and may also be set to one of the ResourceIPAllocationMode constants to select between VNM, loopback, or default allocation.
BindInterface string `json:"bindInterface"`
// A filter applied to the routing logic to pin datasource to nodes.
EgressFilter string `json:"egressFilter"`
// True if the datasource is reachable and the credentials are valid.
Healthy bool `json:"healthy"`
// The host to dial to initiate a connection from the egress node to this resource.
Hostname string `json:"hostname"`
// Unique identifier of the Resource.
ID string `json:"id"`
// The username to use for healthchecks, when clients otherwise connect with their own identity alias username.
IdentityAliasHealthcheckUsername string `json:"identityAliasHealthcheckUsername"`
// The ID of the identity set to use for identity connections.
IdentitySetID string `json:"identitySetId"`
// When set, require a resource lock to access the resource to ensure it can only be used by one user at a time.
LockRequired bool `json:"lockRequired"`
// Unique human-readable name of the Resource.
Name string `json:"name"`
// The port to dial to initiate a connection from the egress node to this resource.
Port int32 `json:"port"`
// Whether port forwarding is allowed through this server.
PortForwarding bool `json:"portForwarding"`
// The local port used by clients to connect to this resource. It is automatically generated if not provided on create and may be re-generated on update by specifying a value of -1.
PortOverride int32 `json:"portOverride"`
// The private key used to authenticate with the server.
PrivateKey string `json:"privateKey"`
// ID of the proxy cluster for this resource, if any.
ProxyClusterID string `json:"proxyClusterId"`
// ID of the secret store containing credentials for this resource, if any.
SecretStoreID string `json:"secretStoreId"`
// DNS subdomain through which this resource may be accessed on clients. (e.g. "app-prod1" allows the resource to be accessed at "app-prod1.your-org-name.sdm-proxy-domain"). Only applicable to HTTP-based resources or resources using virtual networking mode.
Subdomain string `json:"subdomain"`
// Tags is a map of key, value pairs.
Tags Tags `json:"tags"`
// The username to authenticate with.
Username string `json:"username"`
}
func (*SSHCustomerKey) GetBindInterface ¶
func (m *SSHCustomerKey) GetBindInterface() string
GetBindInterface returns the bind interface of the SSHCustomerKey.
func (*SSHCustomerKey) GetEgressFilter ¶
func (m *SSHCustomerKey) GetEgressFilter() string
GetEgressFilter returns the egress filter of the SSHCustomerKey.
func (*SSHCustomerKey) GetID ¶
func (m *SSHCustomerKey) GetID() string
GetID returns the unique identifier of the SSHCustomerKey.
func (*SSHCustomerKey) GetName ¶
func (m *SSHCustomerKey) GetName() string
GetName returns the name of the SSHCustomerKey.
func (*SSHCustomerKey) GetSecretStoreID ¶
func (m *SSHCustomerKey) GetSecretStoreID() string
GetSecretStoreID returns the secret store id of the SSHCustomerKey.
func (*SSHCustomerKey) GetTags ¶
func (m *SSHCustomerKey) GetTags() Tags
GetTags returns the tags of the SSHCustomerKey.
func (*SSHCustomerKey) SetBindInterface ¶
func (m *SSHCustomerKey) SetBindInterface(v string)
SetBindInterface sets the bind interface of the SSHCustomerKey.
func (*SSHCustomerKey) SetEgressFilter ¶
func (m *SSHCustomerKey) SetEgressFilter(v string)
SetEgressFilter sets the egress filter of the SSHCustomerKey.
func (*SSHCustomerKey) SetName ¶
func (m *SSHCustomerKey) SetName(v string)
SetName sets the name of the SSHCustomerKey.
func (*SSHCustomerKey) SetSecretStoreID ¶
func (m *SSHCustomerKey) SetSecretStoreID(v string)
SetSecretStoreID sets the secret store id of the SSHCustomerKey.
func (*SSHCustomerKey) SetTags ¶
func (m *SSHCustomerKey) SetTags(v Tags)
SetTags sets the tags of the SSHCustomerKey.
type SSHPassword ¶
type SSHPassword struct {
// Whether deprecated, insecure key exchanges are allowed for use to connect to the target ssh server.
AllowDeprecatedKeyExchanges bool `json:"allowDeprecatedKeyExchanges"`
// The bind interface is the IP address to which the port override of a resource is bound (for example, 127.0.0.1). It is automatically generated if not provided and may also be set to one of the ResourceIPAllocationMode constants to select between VNM, loopback, or default allocation.
BindInterface string `json:"bindInterface"`
// A filter applied to the routing logic to pin datasource to nodes.
EgressFilter string `json:"egressFilter"`
// True if the datasource is reachable and the credentials are valid.
Healthy bool `json:"healthy"`
// The host to dial to initiate a connection from the egress node to this resource.
Hostname string `json:"hostname"`
// Unique identifier of the Resource.
ID string `json:"id"`
// When set, require a resource lock to access the resource to ensure it can only be used by one user at a time.
LockRequired bool `json:"lockRequired"`
// Unique human-readable name of the Resource.
Name string `json:"name"`
// The password to authenticate with.
Password string `json:"password"`
// The port to dial to initiate a connection from the egress node to this resource.
Port int32 `json:"port"`
// Whether port forwarding is allowed through this server.
PortForwarding bool `json:"portForwarding"`
// The local port used by clients to connect to this resource. It is automatically generated if not provided on create and may be re-generated on update by specifying a value of -1.
PortOverride int32 `json:"portOverride"`
// ID of the proxy cluster for this resource, if any.
ProxyClusterID string `json:"proxyClusterId"`
// ID of the secret store containing credentials for this resource, if any.
SecretStoreID string `json:"secretStoreId"`
// DNS subdomain through which this resource may be accessed on clients. (e.g. "app-prod1" allows the resource to be accessed at "app-prod1.your-org-name.sdm-proxy-domain"). Only applicable to HTTP-based resources or resources using virtual networking mode.
Subdomain string `json:"subdomain"`
// Tags is a map of key, value pairs.
Tags Tags `json:"tags"`
// The username to authenticate with.
Username string `json:"username"`
}
func (*SSHPassword) GetBindInterface ¶
func (m *SSHPassword) GetBindInterface() string
GetBindInterface returns the bind interface of the SSHPassword.
func (*SSHPassword) GetEgressFilter ¶
func (m *SSHPassword) GetEgressFilter() string
GetEgressFilter returns the egress filter of the SSHPassword.
func (*SSHPassword) GetID ¶
func (m *SSHPassword) GetID() string
GetID returns the unique identifier of the SSHPassword.
func (*SSHPassword) GetName ¶
func (m *SSHPassword) GetName() string
GetName returns the name of the SSHPassword.
func (*SSHPassword) GetSecretStoreID ¶
func (m *SSHPassword) GetSecretStoreID() string
GetSecretStoreID returns the secret store id of the SSHPassword.
func (*SSHPassword) GetTags ¶
func (m *SSHPassword) GetTags() Tags
GetTags returns the tags of the SSHPassword.
func (*SSHPassword) SetBindInterface ¶
func (m *SSHPassword) SetBindInterface(v string)
SetBindInterface sets the bind interface of the SSHPassword.
func (*SSHPassword) SetEgressFilter ¶
func (m *SSHPassword) SetEgressFilter(v string)
SetEgressFilter sets the egress filter of the SSHPassword.
func (*SSHPassword) SetName ¶
func (m *SSHPassword) SetName(v string)
SetName sets the name of the SSHPassword.
func (*SSHPassword) SetSecretStoreID ¶
func (m *SSHPassword) SetSecretStoreID(v string)
SetSecretStoreID sets the secret store id of the SSHPassword.
func (*SSHPassword) SetTags ¶
func (m *SSHPassword) SetTags(v Tags)
SetTags sets the tags of the SSHPassword.
type SecretEngine ¶
type SecretEngine interface {
// GetID returns the unique identifier of the SecretEngine.
GetID() string
// GetName returns the name of the SecretEngine.
GetName() string
// SetName sets the name of the SecretEngine.
SetName(string)
// GetTags returns the tags of the SecretEngine.
GetTags() Tags
// SetTags sets the tags of the SecretEngine.
SetTags(Tags)
// GetSecretStoreID returns the secret store id of the SecretEngine.
GetSecretStoreID() string
// SetSecretStoreID sets the secret store id of the SecretEngine.
SetSecretStoreID(string)
// GetSecretStoreRootPath returns the secret store root path of the SecretEngine.
GetSecretStoreRootPath() string
// SetSecretStoreRootPath sets the secret store root path of the SecretEngine.
SetSecretStoreRootPath(string)
// GetPublicKey returns the public key of the SecretEngine.
GetPublicKey() []byte
// SetPublicKey sets the public key of the SecretEngine.
SetPublicKey([]byte)
// GetNodeSelector returns the node selector of the SecretEngine.
GetNodeSelector() string
// SetNodeSelector sets the node selector of the SecretEngine.
SetNodeSelector(string)
// GetKeyRotationIntervalDays returns the key rotation interval days of the SecretEngine.
GetKeyRotationIntervalDays() int32
// SetKeyRotationIntervalDays sets the key rotation interval days of the SecretEngine.
SetKeyRotationIntervalDays(int32)
// contains filtered or unexported methods
}
A SecretEngine is managing secrets in SecretStores.
type SecretEngineCreateRequest ¶
type SecretEngineCreateRequest struct {
// Parameters to define the new Secret Engine.
SecretEngine SecretEngine `json:"secretEngine"`
}
SecretEngineCreateRequest specifies a Secret Engine to create.
type SecretEngineCreateResponse ¶
type SecretEngineCreateResponse struct {
// Reserved for future use.
Meta *CreateResponseMetadata `json:"meta"`
// Rate limit information.
RateLimit *RateLimitMetadata `json:"rateLimit"`
// The requested Secret Engine.
SecretEngine SecretEngine `json:"secretEngine"`
}
SecretEngineCreateResponse contains information about a Secret Engine after successful creation.
type SecretEngineDeleteRequest ¶
type SecretEngineDeleteRequest struct {
// The unique identifier of the Secret Engine to delete.
ID string `json:"id"`
}
SecretEngineDeleteRequest specified the ID of a Secret Engine to be deleted.
type SecretEngineDeleteResponse ¶
type SecretEngineDeleteResponse struct {
// Rate limit information.
RateLimit *RateLimitMetadata `json:"rateLimit"`
}
SecretEngineDeleteResponse contains information about a Secret Engine after it was deleted.
type SecretEngineGetRequest ¶
type SecretEngineGetRequest struct {
// The unique identifier of the Secret Engine to retrieve.
ID string `json:"id"`
}
SecretEngineGetRequest specifies which Secret Engine to retrieve
type SecretEngineGetResponse ¶
type SecretEngineGetResponse struct {
// Reserved for future use.
Meta *GetResponseMetadata `json:"meta"`
// Rate limit information.
RateLimit *RateLimitMetadata `json:"rateLimit"`
// The requested Secret Engine.
SecretEngine SecretEngine `json:"secretEngine"`
}
SecretEngineGetResponse contains information about requested Secret Engine
type SecretEngineIterator ¶
type SecretEngineIterator interface {
// Next advances the iterator to the next item in the list. It returns
// true if an item is available to retrieve via the `Value()` function.
Next() bool
// Value returns the current item, if one is available.
Value() SecretEngine
// Err returns the first error encountered during iteration, if any.
Err() error
}
SecretEngineIterator provides read access to a list of SecretEngine. Use it like so:
for iterator.Next() {
secretEngine := iterator.Value()
// ...
}
type SecretEngineListRequest ¶
type SecretEngineListRequest struct {
// A human-readable filter query string.
Filter string `json:"filter"`
}
SecretEngineListRequest specifies criteria for retrieving a list of Secret Engines
type SecretEngineListResponse ¶
type SecretEngineListResponse struct {
// Rate limit information.
RateLimit *RateLimitMetadata `json:"rateLimit"`
}
SecretEngineListResponse contains a list of requested Secret Engine
type SecretEnginePasswordPolicy ¶
type SecretEnginePasswordPolicy struct {
// If set to true allows for consecutive characters to repeat itself
AllowRepeat bool `json:"allowRepeat"`
// Characters to exclude when generating password
ExcludeCharacters string `json:"excludeCharacters"`
// If set to true do not include upper case letters when generating password
ExcludeUpperCase bool `json:"excludeUpperCase"`
// Password length.
Length uint32 `json:"length"`
// Numbers of digits to use when generating password
NumDigits uint32 `json:"numDigits"`
// Number of symbols to use when generating password
NumSymbols uint32 `json:"numSymbols"`
}
type SecretEnginePolicy ¶
type SecretEnginePolicy struct {
// Policy for password
PasswordPolicy *SecretEnginePasswordPolicy `json:"passwordPolicy"`
}
type SecretEngineRotateRequest ¶
type SecretEngineRotateRequest struct {
// The unique identifier of the Secret Engine to rotate credentials for.
ID string `json:"id"`
// Optional password policy to use when generating a password
// If not provided it will use secret engine's password_policy
PasswordPolicy *SecretEnginePasswordPolicy `json:"passwordPolicy"`
}
type SecretEngineRotateResponse ¶
type SecretEngineRotateResponse struct {
// Rate limit information.
RateLimit *RateLimitMetadata `json:"rateLimit"`
}
type SecretEngineUpdateRequest ¶
type SecretEngineUpdateRequest struct {
// Secret engine to update
SecretEngine SecretEngine `json:"secretEngine"`
}
SecretEngineUpdateRequest specifies secret engine to update
type SecretEngineUpdateResponse ¶
type SecretEngineUpdateResponse struct {
// Reserved for future use.
Meta *UpdateResponseMetadata `json:"meta"`
// Rate limit information.
RateLimit *RateLimitMetadata `json:"rateLimit"`
// The requested Secret Engine.
SecretEngine SecretEngine `json:"secretEngine"`
}
SecretEngineUpdateResponse contains information about Secret Engine after successful update.
type SecretEngines ¶
type SecretEngines struct {
// contains filtered or unexported fields
}
func (*SecretEngines) Create ¶
func (svc *SecretEngines) Create( ctx context.Context, secretEngine SecretEngine) ( *SecretEngineCreateResponse, error)
Create creates a secret engine
func (*SecretEngines) Delete ¶
func (svc *SecretEngines) Delete( ctx context.Context, id string) ( *SecretEngineDeleteResponse, error)
Delete deletes a secret engine
func (*SecretEngines) GenerateKeys ¶
func (svc *SecretEngines) GenerateKeys( ctx context.Context, secretEngineId string) ( *GenerateKeysResponse, error)
GenerateKeys generates a private key, stores it in a secret store and stores a public key in a secret engine
func (*SecretEngines) Get ¶
func (svc *SecretEngines) Get( ctx context.Context, id string) ( *SecretEngineGetResponse, error)
Get returns a secret engine details
func (*SecretEngines) Healthcheck ¶
func (svc *SecretEngines) Healthcheck( ctx context.Context, secretEngineId string) ( *HealthcheckResponse, error)
Healthcheck triggers a healthcheck for all nodes serving a secret engine
func (*SecretEngines) List ¶
func (svc *SecretEngines) List( ctx context.Context, filter string, args ...interface{}) ( SecretEngineIterator, error)
List returns a list of Secret Engines
func (*SecretEngines) ListSecretStores ¶
func (svc *SecretEngines) ListSecretStores( ctx context.Context, filter string, args ...interface{}) ( SecretStoreIterator, error)
ListSecretStores returns a list of Secret Stores that can be used as a backing store for Secret Engine
func (*SecretEngines) Rotate ¶
func (svc *SecretEngines) Rotate( ctx context.Context, id string, passwordPolicy *SecretEnginePasswordPolicy) ( *SecretEngineRotateResponse, error)
Rotate rotates secret engine's credentials
func (*SecretEngines) Update ¶
func (svc *SecretEngines) Update( ctx context.Context, secretEngine SecretEngine) ( *SecretEngineUpdateResponse, error)
Update updates a secret engine
type SecretStore ¶
type SecretStore interface {
// GetID returns the unique identifier of the SecretStore.
GetID() string
// GetTags returns the tags of the SecretStore.
GetTags() Tags
// SetTags sets the tags of the SecretStore.
SetTags(Tags)
// GetName returns the name of the SecretStore.
GetName() string
// SetName sets the name of the SecretStore.
SetName(string)
// contains filtered or unexported methods
}
A SecretStore is a server where resource secrets (passwords, keys) are stored. Coming soon support for HashiCorp Vault and AWS Secret Store.
type SecretStoreCreateResponse ¶
type SecretStoreCreateResponse struct {
// Reserved for future use.
Meta *CreateResponseMetadata `json:"meta"`
// Rate limit information.
RateLimit *RateLimitMetadata `json:"rateLimit"`
// The created SecretStore.
SecretStore SecretStore `json:"secretStore"`
}
SecretStoreCreateResponse reports how the SecretStores were created in the system.
type SecretStoreDeleteResponse ¶
type SecretStoreDeleteResponse struct {
// Reserved for future use.
Meta *DeleteResponseMetadata `json:"meta"`
// Rate limit information.
RateLimit *RateLimitMetadata `json:"rateLimit"`
}
SecretStoreDeleteResponse returns information about a SecretStore that was deleted.
type SecretStoreGetResponse ¶
type SecretStoreGetResponse struct {
// Reserved for future use.
Meta *GetResponseMetadata `json:"meta"`
// Rate limit information.
RateLimit *RateLimitMetadata `json:"rateLimit"`
// The requested SecretStore.
SecretStore SecretStore `json:"secretStore"`
}
SecretStoreGetResponse returns a requested SecretStore.
type SecretStoreHealth ¶
type SecretStoreHealth struct {
// The time when the status last changed
ChangedAt time.Time `json:"changedAt"`
// The time when the status was last checked by the node
CheckedAt time.Time `json:"checkedAt"`
// The error associated with this health check, if it occurred after reachability checks succeeded.
Error string `json:"error"`
// Any specific status or error flags associated with this health check.
Flags []string `json:"flags"`
// Associated node id for this health
NodeID string `json:"nodeId"`
// The error associated with this health check, if it occurred during reachability checks.
Reachability string `json:"reachability"`
// Associated secret store for this health
SecretStoreID string `json:"secretStoreId"`
// The status of the link between the node and secret store
Status string `json:"status"`
}
SecretStoreHealth denotes a secret store's health status. Note a secret store is not healthy in terms of a simple boolean, but rather healthy with respect to a particular node or set of nodes.
type SecretStoreHealthIterator ¶
type SecretStoreHealthIterator interface {
// Next advances the iterator to the next item in the list. It returns
// true if an item is available to retrieve via the `Value()` function.
Next() bool
// Value returns the current item, if one is available.
Value() *SecretStoreHealth
// Err returns the first error encountered during iteration, if any.
Err() error
}
SecretStoreHealthIterator provides read access to a list of SecretStoreHealth. Use it like so:
for iterator.Next() {
secretStoreHealth := iterator.Value()
// ...
}
type SecretStoreHealthListResponse ¶
type SecretStoreHealthListResponse struct {
// Rate limit information.
RateLimit *RateLimitMetadata `json:"rateLimit"`
}
type SecretStoreHealthcheckResponse ¶
type SecretStoreHealthcheckResponse struct {
// Rate limit information.
RateLimit *RateLimitMetadata `json:"rateLimit"`
}
type SecretStoreHealths ¶
type SecretStoreHealths struct {
// contains filtered or unexported fields
}
SecretStoreHealths exposes health states for secret stores.
func (*SecretStoreHealths) Healthcheck ¶
func (svc *SecretStoreHealths) Healthcheck( ctx context.Context, secretStoreId string) ( *SecretStoreHealthcheckResponse, error)
Healthcheck triggers a remote healthcheck request for a secret store. It may take minutes to propagate across a large network of Nodes. The call will return immediately, and the updated health of the Secret Store can be retrieved via List.
func (*SecretStoreHealths) List ¶
func (svc *SecretStoreHealths) List( ctx context.Context, filter string, args ...interface{}) ( SecretStoreHealthIterator, error)
List reports the health status of node to secret store pairs.
type SecretStoreHistory ¶
type SecretStoreHistory struct {
// The unique identifier of the Activity that produced this change to the SecretStore.
// May be empty for some system-initiated updates.
ActivityID string `json:"activityId"`
// If this SecretStore was deleted, the time it was deleted.
DeletedAt time.Time `json:"deletedAt"`
// The complete SecretStore state at this time.
SecretStore SecretStore `json:"secretStore"`
// The time at which the SecretStore state was recorded.
Timestamp time.Time `json:"timestamp"`
}
SecretStoreHistory records the state of a SecretStore at a given point in time, where every change (create, update and delete) to a SecretStore produces an SecretStoreHistory record.
type SecretStoreHistoryIterator ¶
type SecretStoreHistoryIterator interface {
// Next advances the iterator to the next item in the list. It returns
// true if an item is available to retrieve via the `Value()` function.
Next() bool
// Value returns the current item, if one is available.
Value() *SecretStoreHistory
// Err returns the first error encountered during iteration, if any.
Err() error
}
SecretStoreHistoryIterator provides read access to a list of SecretStoreHistory. Use it like so:
for iterator.Next() {
secretStoreHistory := iterator.Value()
// ...
}
type SecretStoreIterator ¶
type SecretStoreIterator interface {
// Next advances the iterator to the next item in the list. It returns
// true if an item is available to retrieve via the `Value()` function.
Next() bool
// Value returns the current item, if one is available.
Value() SecretStore
// Err returns the first error encountered during iteration, if any.
Err() error
}
SecretStoreIterator provides read access to a list of SecretStore. Use it like so:
for iterator.Next() {
secretStore := iterator.Value()
// ...
}
type SecretStoreUpdateResponse ¶
type SecretStoreUpdateResponse struct {
// Reserved for future use.
Meta *UpdateResponseMetadata `json:"meta"`
// Rate limit information.
RateLimit *RateLimitMetadata `json:"rateLimit"`
// The updated SecretStore.
SecretStore SecretStore `json:"secretStore"`
}
SecretStoreUpdateResponse returns the fields of a SecretStore after it has been updated by a SecretStoreUpdateRequest.
type SecretStores ¶
type SecretStores struct {
// contains filtered or unexported fields
}
SecretStores are servers where resource secrets (passwords, keys) are stored.
func (*SecretStores) Create ¶
func (svc *SecretStores) Create( ctx context.Context, secretStore SecretStore) ( *SecretStoreCreateResponse, error)
func (*SecretStores) Delete ¶
func (svc *SecretStores) Delete( ctx context.Context, id string) ( *SecretStoreDeleteResponse, error)
Delete removes a SecretStore by ID.
func (*SecretStores) Get ¶
func (svc *SecretStores) Get( ctx context.Context, id string) ( *SecretStoreGetResponse, error)
Get reads one SecretStore by ID.
func (*SecretStores) List ¶
func (svc *SecretStores) List( ctx context.Context, filter string, args ...interface{}) ( SecretStoreIterator, error)
List gets a list of SecretStores matching a given set of criteria.
func (*SecretStores) Update ¶
func (svc *SecretStores) Update( ctx context.Context, secretStore SecretStore) ( *SecretStoreUpdateResponse, error)
Update replaces all the fields of a SecretStore by ID.
type SecretStoresHistory ¶
type SecretStoresHistory struct {
// contains filtered or unexported fields
}
SecretStoresHistory records all changes to the state of a SecretStore.
func (*SecretStoresHistory) List ¶
func (svc *SecretStoresHistory) List( ctx context.Context, filter string, args ...interface{}) ( SecretStoreHistoryIterator, error)
List gets a list of SecretStoreHistory records matching a given set of criteria.
type Service ¶
type Service struct {
// CreatedAt is the timestamp when the service was created
CreatedAt time.Time `json:"createdAt"`
// Unique identifier of the Service.
ID string `json:"id"`
// Unique human-readable name of the Service.
Name string `json:"name"`
// The Service's suspended state.
Suspended bool `json:"suspended"`
// Tags is a map of key, value pairs.
Tags Tags `json:"tags"`
}
A Service is a service account that can connect to resources they are granted directly, or granted via roles. Services are typically automated jobs.
func (*Service) GetCreatedAt ¶
GetCreatedAt returns the created at of the Service.
func (*Service) IsSuspended ¶
IsSuspended returns whether the Service is suspended.
func (*Service) SetCreatedAt ¶
SetCreatedAt sets the created at of the Service.
func (*Service) SetSuspended ¶
SetSuspended sets the suspended of the Service.
type SingleStore ¶
type SingleStore struct {
// The bind interface is the IP address to which the port override of a resource is bound (for example, 127.0.0.1). It is automatically generated if not provided and may also be set to one of the ResourceIPAllocationMode constants to select between VNM, loopback, or default allocation.
BindInterface string `json:"bindInterface"`
// The database for healthchecks. Does not affect client requests.
Database string `json:"database"`
// A filter applied to the routing logic to pin datasource to nodes.
EgressFilter string `json:"egressFilter"`
// True if the datasource is reachable and the credentials are valid.
Healthy bool `json:"healthy"`
// The host to dial to initiate a connection from the egress node to this resource.
Hostname string `json:"hostname"`
// Unique identifier of the Resource.
ID string `json:"id"`
// Unique human-readable name of the Resource.
Name string `json:"name"`
// The password to authenticate with.
Password string `json:"password"`
// The port to dial to initiate a connection from the egress node to this resource.
Port int32 `json:"port"`
// The local port used by clients to connect to this resource. It is automatically generated if not provided on create and may be re-generated on update by specifying a value of -1.
PortOverride int32 `json:"portOverride"`
// ID of the proxy cluster for this resource, if any.
ProxyClusterID string `json:"proxyClusterId"`
// Whether native auth (mysql_native_password) is used for all connections (for backwards compatibility)
RequireNativeAuth bool `json:"requireNativeAuth"`
// ID of the secret store containing credentials for this resource, if any.
SecretStoreID string `json:"secretStoreId"`
// DNS subdomain through which this resource may be accessed on clients. (e.g. "app-prod1" allows the resource to be accessed at "app-prod1.your-org-name.sdm-proxy-domain"). Only applicable to HTTP-based resources or resources using virtual networking mode.
Subdomain string `json:"subdomain"`
// Tags is a map of key, value pairs.
Tags Tags `json:"tags"`
// If true, appends the hostname to the username when hitting a database.azure.com address
UseAzureSingleServerUsernames bool `json:"useAzureSingleServerUsernames"`
// The username to authenticate with.
Username string `json:"username"`
}
func (*SingleStore) GetBindInterface ¶
func (m *SingleStore) GetBindInterface() string
GetBindInterface returns the bind interface of the SingleStore.
func (*SingleStore) GetEgressFilter ¶
func (m *SingleStore) GetEgressFilter() string
GetEgressFilter returns the egress filter of the SingleStore.
func (*SingleStore) GetID ¶
func (m *SingleStore) GetID() string
GetID returns the unique identifier of the SingleStore.
func (*SingleStore) GetName ¶
func (m *SingleStore) GetName() string
GetName returns the name of the SingleStore.
func (*SingleStore) GetSecretStoreID ¶
func (m *SingleStore) GetSecretStoreID() string
GetSecretStoreID returns the secret store id of the SingleStore.
func (*SingleStore) GetTags ¶
func (m *SingleStore) GetTags() Tags
GetTags returns the tags of the SingleStore.
func (*SingleStore) SetBindInterface ¶
func (m *SingleStore) SetBindInterface(v string)
SetBindInterface sets the bind interface of the SingleStore.
func (*SingleStore) SetEgressFilter ¶
func (m *SingleStore) SetEgressFilter(v string)
SetEgressFilter sets the egress filter of the SingleStore.
func (*SingleStore) SetName ¶
func (m *SingleStore) SetName(v string)
SetName sets the name of the SingleStore.
func (*SingleStore) SetSecretStoreID ¶
func (m *SingleStore) SetSecretStoreID(v string)
SetSecretStoreID sets the secret store id of the SingleStore.
func (*SingleStore) SetTags ¶
func (m *SingleStore) SetTags(v Tags)
SetTags sets the tags of the SingleStore.
type SnapshotAccessRequests ¶
type SnapshotAccessRequests interface {
List(
ctx context.Context,
filter string,
args ...interface{}) (
AccessRequestIterator,
error)
}
A SnapshotAccessRequests exposes the read only methods of the AccessRequests service for historical queries.
type SnapshotAccountAttachments ¶
type SnapshotAccountAttachments interface {
Get(
ctx context.Context,
id string) (
*AccountAttachmentGetResponse,
error)
List(
ctx context.Context,
filter string,
args ...interface{}) (
AccountAttachmentIterator,
error)
}
A SnapshotAccountAttachments exposes the read only methods of the AccountAttachments service for historical queries.
type SnapshotAccountGrants ¶
type SnapshotAccountGrants interface {
Get(
ctx context.Context,
id string) (
*AccountGrantGetResponse,
error)
List(
ctx context.Context,
filter string,
args ...interface{}) (
AccountGrantIterator,
error)
}
A SnapshotAccountGrants exposes the read only methods of the AccountGrants service for historical queries.
type SnapshotAccountPermissions ¶
type SnapshotAccountPermissions interface {
List(
ctx context.Context,
filter string,
args ...interface{}) (
AccountPermissionIterator,
error)
}
A SnapshotAccountPermissions exposes the read only methods of the AccountPermissions service for historical queries.
type SnapshotAccountResources ¶
type SnapshotAccountResources interface {
List(
ctx context.Context,
filter string,
args ...interface{}) (
AccountResourceIterator,
error)
}
A SnapshotAccountResources exposes the read only methods of the AccountResources service for historical queries.
type SnapshotAccounts ¶
type SnapshotAccounts interface {
Get(
ctx context.Context,
id string) (
*AccountGetResponse,
error)
List(
ctx context.Context,
filter string,
args ...interface{}) (
AccountIterator,
error)
}
A SnapshotAccounts exposes the read only methods of the Accounts service for historical queries.
type SnapshotAccountsGroups ¶
type SnapshotAccountsGroups interface {
Get(
ctx context.Context,
id string) (
*AccountGroupGetResponse,
error)
List(
ctx context.Context,
filter string,
args ...interface{}) (
AccountGroupIterator,
error)
}
A SnapshotAccountsGroups exposes the read only methods of the AccountsGroups service for historical queries.
type SnapshotApprovalWorkflowApprovers ¶
type SnapshotApprovalWorkflowApprovers interface {
Get(
ctx context.Context,
id string) (
*ApprovalWorkflowApproverGetResponse,
error)
List(
ctx context.Context,
filter string,
args ...interface{}) (
ApprovalWorkflowApproverIterator,
error)
}
A SnapshotApprovalWorkflowApprovers exposes the read only methods of the ApprovalWorkflowApprovers service for historical queries.
type SnapshotApprovalWorkflowSteps ¶
type SnapshotApprovalWorkflowSteps interface {
Get(
ctx context.Context,
id string) (
*ApprovalWorkflowStepGetResponse,
error)
List(
ctx context.Context,
filter string,
args ...interface{}) (
ApprovalWorkflowStepIterator,
error)
}
A SnapshotApprovalWorkflowSteps exposes the read only methods of the ApprovalWorkflowSteps service for historical queries.
type SnapshotApprovalWorkflows ¶
type SnapshotApprovalWorkflows interface {
Get(
ctx context.Context,
id string) (
*ApprovalWorkflowGetResponse,
error)
List(
ctx context.Context,
filter string,
args ...interface{}) (
ApprovalWorkflowIterator,
error)
}
A SnapshotApprovalWorkflows exposes the read only methods of the ApprovalWorkflows service for historical queries.
type SnapshotClient ¶
type SnapshotClient struct {
// contains filtered or unexported fields
}
func (*SnapshotClient) AccessRequests ¶
func (c *SnapshotClient) AccessRequests() SnapshotAccessRequests
AccessRequests are requests for access to a resource that may match a Workflow.
func (*SnapshotClient) AccountAttachments ¶
func (c *SnapshotClient) AccountAttachments() SnapshotAccountAttachments
AccountAttachments assign an account to a role.
func (*SnapshotClient) AccountGrants ¶
func (c *SnapshotClient) AccountGrants() SnapshotAccountGrants
AccountGrants assign a resource directly to an account, giving the account the permission to connect to that resource.
func (*SnapshotClient) AccountPermissions ¶
func (c *SnapshotClient) AccountPermissions() SnapshotAccountPermissions
AccountPermissions records the granular permissions accounts have, allowing them to execute relevant commands via StrongDM's APIs.
func (*SnapshotClient) AccountResources ¶
func (c *SnapshotClient) AccountResources() SnapshotAccountResources
AccountResources enumerates the resources to which accounts have access. The AccountResources service is read-only.
func (*SnapshotClient) Accounts ¶
func (c *SnapshotClient) Accounts() SnapshotAccounts
Accounts are users that have access to strongDM. There are two types of accounts: 1. **Users:** humans who are authenticated through username and password or SSO. 2. **Service Accounts:** machines that are authenticated using a service token. 3. **Tokens** are access keys with permissions that can be used for authentication.
func (*SnapshotClient) AccountsGroups ¶
func (c *SnapshotClient) AccountsGroups() SnapshotAccountsGroups
An AccountGroup links an account and a group.
func (*SnapshotClient) ApprovalWorkflowApprovers ¶
func (c *SnapshotClient) ApprovalWorkflowApprovers() SnapshotApprovalWorkflowApprovers
ApprovalWorkflowApprovers link approval workflow approvers to an ApprovalWorkflowStep
func (*SnapshotClient) ApprovalWorkflowSteps ¶
func (c *SnapshotClient) ApprovalWorkflowSteps() SnapshotApprovalWorkflowSteps
ApprovalWorkflowSteps link approval workflow steps to an ApprovalWorkflow
func (*SnapshotClient) ApprovalWorkflows ¶
func (c *SnapshotClient) ApprovalWorkflows() SnapshotApprovalWorkflows
ApprovalWorkflows are the mechanism by which requests for access can be viewed by authorized approvers and be approved or denied.
func (*SnapshotClient) DiscoveryConnectors ¶
func (c *SnapshotClient) DiscoveryConnectors() SnapshotDiscoveryConnectors
A Discovery Connector is a configuration object for performing Resource Scans in remote systems such as AWS, GCP, Azure, and other systems.
func (*SnapshotClient) GrantedAccountEntitlements ¶ added in v16.13.0
func (c *SnapshotClient) GrantedAccountEntitlements() SnapshotGrantedAccountEntitlements
GrantedAccountEntitlements enumerates the resources to which an account has been granted access. The GrantedAccountEntitlements service is read-only.
func (*SnapshotClient) GrantedResourceEntitlements ¶ added in v16.13.0
func (c *SnapshotClient) GrantedResourceEntitlements() SnapshotGrantedResourceEntitlements
GrantedResourceEntitlements enumerates the accounts that have been granted access to a given resource. The GrantedResourceEntitlements service is read-only.
func (*SnapshotClient) GrantedRoleEntitlements ¶ added in v16.13.0
func (c *SnapshotClient) GrantedRoleEntitlements() SnapshotGrantedRoleEntitlements
GrantedRoleEntitlements enumerates the resources to which a role grants access. The GrantedRoleEntitlements service is read-only.
func (*SnapshotClient) Groups ¶
func (c *SnapshotClient) Groups() SnapshotGroups
A Group is a set of principals.
func (*SnapshotClient) GroupsRoles ¶
func (c *SnapshotClient) GroupsRoles() SnapshotGroupsRoles
A GroupRole is an assignment of a Group to a Role.
func (*SnapshotClient) IdentityAliases ¶
func (c *SnapshotClient) IdentityAliases() SnapshotIdentityAliases
IdentityAliases assign an alias to an account within an IdentitySet. The alias is used as the username when connecting to a identity supported resource.
func (*SnapshotClient) IdentitySets ¶
func (c *SnapshotClient) IdentitySets() SnapshotIdentitySets
A IdentitySet is a named grouping of Identity Aliases for Accounts. An Account's relationship to a IdentitySet is defined via IdentityAlias objects.
func (*SnapshotClient) Nodes ¶
func (c *SnapshotClient) Nodes() SnapshotNodes
Nodes make up the StrongDM network, and allow your users to connect securely to your resources. There are three types of nodes: 1. **Relay:** creates connectivity to your datasources, while maintaining the egress-only nature of your firewall 2. **Gateway:** a relay that also listens for connections from StrongDM clients 3. **Proxy Cluster:** a cluster of workers that together mediate access from clients to resources
func (*SnapshotClient) Policies ¶
func (c *SnapshotClient) Policies() SnapshotPolicies
Policies are the collection of one or more statements that enforce fine-grained access control for the users of an organization.
func (*SnapshotClient) ProxyClusterKeys ¶
func (c *SnapshotClient) ProxyClusterKeys() SnapshotProxyClusterKeys
Proxy Cluster Keys are authentication keys for all proxies within a cluster. The proxies within a cluster share the same key. One cluster can have multiple keys in order to facilitate key rotation.
func (*SnapshotClient) RemoteIdentities ¶
func (c *SnapshotClient) RemoteIdentities() SnapshotRemoteIdentities
RemoteIdentities assign a resource directly to an account, giving the account the permission to connect to that resource.
func (*SnapshotClient) RemoteIdentityGroups ¶
func (c *SnapshotClient) RemoteIdentityGroups() SnapshotRemoteIdentityGroups
A RemoteIdentityGroup is a named grouping of Remote Identities for Accounts. An Account's relationship to a RemoteIdentityGroup is defined via RemoteIdentity objects.
func (*SnapshotClient) RequestableAccountEntitlements ¶ added in v16.21.0
func (c *SnapshotClient) RequestableAccountEntitlements() SnapshotRequestableAccountEntitlements
RequestableAccountEntitlements enumerates the resources that an account is permitted to request access to. The RequestableAccountEntitlements service is read-only.
func (*SnapshotClient) RequestableResourceEntitlements ¶ added in v16.21.0
func (c *SnapshotClient) RequestableResourceEntitlements() SnapshotRequestableResourceEntitlements
RequestableResourceEntitlements enumerates the accounts that are permitted to request access to a given resource. The RequestableResourceEntitlements service is read-only.
func (*SnapshotClient) RequestableRoleEntitlements ¶ added in v16.21.0
func (c *SnapshotClient) RequestableRoleEntitlements() SnapshotRequestableRoleEntitlements
RequestableRoleEntitlements enumerates the resources that a role permits its members to request access to. The RequestableRoleEntitlements service is read-only.
func (*SnapshotClient) Resources ¶
func (c *SnapshotClient) Resources() SnapshotResources
Resources are databases, servers, clusters, websites, or clouds that strongDM delegates access to.
func (*SnapshotClient) RoleResources ¶
func (c *SnapshotClient) RoleResources() SnapshotRoleResources
RoleResources enumerates the resources to which roles have access. The RoleResources service is read-only.
func (*SnapshotClient) Roles ¶
func (c *SnapshotClient) Roles() SnapshotRoles
A Role has a list of access rules which determine which Resources the members of the Role have access to. An Account can be a member of multiple Roles via AccountAttachments.
func (*SnapshotClient) SecretStores ¶
func (c *SnapshotClient) SecretStores() SnapshotSecretStores
SecretStores are servers where resource secrets (passwords, keys) are stored.
func (*SnapshotClient) WorkflowApprovers ¶
func (c *SnapshotClient) WorkflowApprovers() SnapshotWorkflowApprovers
WorkflowApprovers is an account or a role with the ability to approve requests bound to a workflow.
func (*SnapshotClient) WorkflowRoles ¶
func (c *SnapshotClient) WorkflowRoles() SnapshotWorkflowRoles
WorkflowRole links a role to a workflow. The linked roles indicate which roles a user must be a part of to request access to a resource via the workflow.
func (*SnapshotClient) Workflows ¶
func (c *SnapshotClient) Workflows() SnapshotWorkflows
Workflows are the collection of rules that define the resources to which access can be requested, the users that can request that access, and the mechanism for approving those requests which can either be automatic approval or a set of users authorized to approve the requests.
type SnapshotDiscoveryConnectors ¶
type SnapshotDiscoveryConnectors interface {
Get(
ctx context.Context,
id string) (
*ConnectorGetResponse,
error)
List(
ctx context.Context,
filter string,
args ...interface{}) (
ConnectorIterator,
error)
}
A SnapshotDiscoveryConnectors exposes the read only methods of the DiscoveryConnectors service for historical queries.
type SnapshotGrantedAccountEntitlements ¶ added in v16.13.0
type SnapshotGrantedAccountEntitlements interface {
List(
ctx context.Context,
accountId string,
filter string,
args ...interface{}) (
GrantedAccountEntitlementIterator,
error)
}
A SnapshotGrantedAccountEntitlements exposes the read only methods of the GrantedAccountEntitlements service for historical queries.
type SnapshotGrantedResourceEntitlements ¶ added in v16.13.0
type SnapshotGrantedResourceEntitlements interface {
List(
ctx context.Context,
resourceId string,
filter string,
args ...interface{}) (
GrantedResourceEntitlementIterator,
error)
}
A SnapshotGrantedResourceEntitlements exposes the read only methods of the GrantedResourceEntitlements service for historical queries.
type SnapshotGrantedRoleEntitlements ¶ added in v16.13.0
type SnapshotGrantedRoleEntitlements interface {
List(
ctx context.Context,
roleId string,
filter string,
args ...interface{}) (
GrantedRoleEntitlementIterator,
error)
}
A SnapshotGrantedRoleEntitlements exposes the read only methods of the GrantedRoleEntitlements service for historical queries.
type SnapshotGroups ¶
type SnapshotGroups interface {
Get(
ctx context.Context,
id string) (
*GroupGetResponse,
error)
List(
ctx context.Context,
filter string,
args ...interface{}) (
GroupIterator,
error)
}
A SnapshotGroups exposes the read only methods of the Groups service for historical queries.
type SnapshotGroupsRoles ¶
type SnapshotGroupsRoles interface {
Get(
ctx context.Context,
id string) (
*GroupRoleGetResponse,
error)
List(
ctx context.Context,
filter string,
args ...interface{}) (
GroupRoleIterator,
error)
}
A SnapshotGroupsRoles exposes the read only methods of the GroupsRoles service for historical queries.
type SnapshotIdentityAliases ¶
type SnapshotIdentityAliases interface {
Get(
ctx context.Context,
id string) (
*IdentityAliasGetResponse,
error)
List(
ctx context.Context,
filter string,
args ...interface{}) (
IdentityAliasIterator,
error)
}
A SnapshotIdentityAliases exposes the read only methods of the IdentityAliases service for historical queries.
type SnapshotIdentitySets ¶
type SnapshotIdentitySets interface {
Get(
ctx context.Context,
id string) (
*IdentitySetGetResponse,
error)
List(
ctx context.Context,
filter string,
args ...interface{}) (
IdentitySetIterator,
error)
}
A SnapshotIdentitySets exposes the read only methods of the IdentitySets service for historical queries.
type SnapshotNodes ¶
type SnapshotNodes interface {
Get(
ctx context.Context,
id string) (
*NodeGetResponse,
error)
List(
ctx context.Context,
filter string,
args ...interface{}) (
NodeIterator,
error)
}
A SnapshotNodes exposes the read only methods of the Nodes service for historical queries.
type SnapshotPolicies ¶
type SnapshotPolicies interface {
Get(
ctx context.Context,
id string) (
*PolicyGetResponse,
error)
List(
ctx context.Context,
filter string,
args ...interface{}) (
PolicyIterator,
error)
}
A SnapshotPolicies exposes the read only methods of the Policies service for historical queries.
type SnapshotProxyClusterKeys ¶
type SnapshotProxyClusterKeys interface {
Get(
ctx context.Context,
id string) (
*ProxyClusterKeyGetResponse,
error)
List(
ctx context.Context,
filter string,
args ...interface{}) (
ProxyClusterKeyIterator,
error)
}
A SnapshotProxyClusterKeys exposes the read only methods of the ProxyClusterKeys service for historical queries.
type SnapshotRemoteIdentities ¶
type SnapshotRemoteIdentities interface {
Get(
ctx context.Context,
id string) (
*RemoteIdentityGetResponse,
error)
List(
ctx context.Context,
filter string,
args ...interface{}) (
RemoteIdentityIterator,
error)
}
A SnapshotRemoteIdentities exposes the read only methods of the RemoteIdentities service for historical queries.
type SnapshotRemoteIdentityGroups ¶
type SnapshotRemoteIdentityGroups interface {
Get(
ctx context.Context,
id string) (
*RemoteIdentityGroupGetResponse,
error)
List(
ctx context.Context,
filter string,
args ...interface{}) (
RemoteIdentityGroupIterator,
error)
}
A SnapshotRemoteIdentityGroups exposes the read only methods of the RemoteIdentityGroups service for historical queries.
type SnapshotRequestableAccountEntitlements ¶ added in v16.21.0
type SnapshotRequestableAccountEntitlements interface {
List(
ctx context.Context,
accountId string,
filter string,
args ...interface{}) (
RequestableAccountEntitlementIterator,
error)
}
A SnapshotRequestableAccountEntitlements exposes the read only methods of the RequestableAccountEntitlements service for historical queries.
type SnapshotRequestableResourceEntitlements ¶ added in v16.21.0
type SnapshotRequestableResourceEntitlements interface {
List(
ctx context.Context,
resourceId string,
filter string,
args ...interface{}) (
RequestableResourceEntitlementIterator,
error)
}
A SnapshotRequestableResourceEntitlements exposes the read only methods of the RequestableResourceEntitlements service for historical queries.
type SnapshotRequestableRoleEntitlements ¶ added in v16.21.0
type SnapshotRequestableRoleEntitlements interface {
List(
ctx context.Context,
roleId string,
filter string,
args ...interface{}) (
RequestableRoleEntitlementIterator,
error)
}
A SnapshotRequestableRoleEntitlements exposes the read only methods of the RequestableRoleEntitlements service for historical queries.
type SnapshotResources ¶
type SnapshotResources interface {
Get(
ctx context.Context,
id string) (
*ResourceGetResponse,
error)
List(
ctx context.Context,
filter string,
args ...interface{}) (
ResourceIterator,
error)
}
A SnapshotResources exposes the read only methods of the Resources service for historical queries.
type SnapshotRoleResources ¶
type SnapshotRoleResources interface {
List(
ctx context.Context,
filter string,
args ...interface{}) (
RoleResourceIterator,
error)
}
A SnapshotRoleResources exposes the read only methods of the RoleResources service for historical queries.
type SnapshotRoles ¶
type SnapshotRoles interface {
Get(
ctx context.Context,
id string) (
*RoleGetResponse,
error)
List(
ctx context.Context,
filter string,
args ...interface{}) (
RoleIterator,
error)
}
A SnapshotRoles exposes the read only methods of the Roles service for historical queries.
type SnapshotSecretStores ¶
type SnapshotSecretStores interface {
Get(
ctx context.Context,
id string) (
*SecretStoreGetResponse,
error)
List(
ctx context.Context,
filter string,
args ...interface{}) (
SecretStoreIterator,
error)
}
A SnapshotSecretStores exposes the read only methods of the SecretStores service for historical queries.
type SnapshotWorkflowApprovers ¶
type SnapshotWorkflowApprovers interface {
Get(
ctx context.Context,
id string) (
*WorkflowApproverGetResponse,
error)
List(
ctx context.Context,
filter string,
args ...interface{}) (
WorkflowApproverIterator,
error)
}
A SnapshotWorkflowApprovers exposes the read only methods of the WorkflowApprovers service for historical queries.
type SnapshotWorkflowRoles ¶
type SnapshotWorkflowRoles interface {
Get(
ctx context.Context,
id string) (
*WorkflowRoleGetResponse,
error)
List(
ctx context.Context,
filter string,
args ...interface{}) (
WorkflowRoleIterator,
error)
}
A SnapshotWorkflowRoles exposes the read only methods of the WorkflowRoles service for historical queries.
type SnapshotWorkflows ¶
type SnapshotWorkflows interface {
Get(
ctx context.Context,
id string) (
*WorkflowGetResponse,
error)
List(
ctx context.Context,
filter string,
args ...interface{}) (
WorkflowIterator,
error)
}
A SnapshotWorkflows exposes the read only methods of the Workflows service for historical queries.
type Snowflake ¶
type Snowflake struct {
// The bind interface is the IP address to which the port override of a resource is bound (for example, 127.0.0.1). It is automatically generated if not provided and may also be set to one of the ResourceIPAllocationMode constants to select between VNM, loopback, or default allocation.
BindInterface string `json:"bindInterface"`
// The initial database to connect to. This setting does not by itself prevent switching to another database after connecting.
Database string `json:"database"`
// A filter applied to the routing logic to pin datasource to nodes.
EgressFilter string `json:"egressFilter"`
// True if the datasource is reachable and the credentials are valid.
Healthy bool `json:"healthy"`
// The host to dial to initiate a connection from the egress node to this resource.
Hostname string `json:"hostname"`
// Unique identifier of the Resource.
ID string `json:"id"`
// Unique human-readable name of the Resource.
Name string `json:"name"`
// Deprecated: https://www.snowflake.com/en/blog/blocking-single-factor-password-authentification/
Password string `json:"password"`
// The local port used by clients to connect to this resource. It is automatically generated if not provided on create and may be re-generated on update by specifying a value of -1.
PortOverride int32 `json:"portOverride"`
// RSA Private Key for authentication
PrivateKey string `json:"privateKey"`
// ID of the proxy cluster for this resource, if any.
ProxyClusterID string `json:"proxyClusterId"`
// The schema to provide on authentication.
Schema string `json:"schema"`
// ID of the secret store containing credentials for this resource, if any.
SecretStoreID string `json:"secretStoreId"`
// DNS subdomain through which this resource may be accessed on clients. (e.g. "app-prod1" allows the resource to be accessed at "app-prod1.your-org-name.sdm-proxy-domain"). Only applicable to HTTP-based resources or resources using virtual networking mode.
Subdomain string `json:"subdomain"`
// Tags is a map of key, value pairs.
Tags Tags `json:"tags"`
// The username to authenticate with.
Username string `json:"username"`
}
func (*Snowflake) GetBindInterface ¶
GetBindInterface returns the bind interface of the Snowflake.
func (*Snowflake) GetEgressFilter ¶
GetEgressFilter returns the egress filter of the Snowflake.
func (*Snowflake) GetSecretStoreID ¶
GetSecretStoreID returns the secret store id of the Snowflake.
func (*Snowflake) SetBindInterface ¶
SetBindInterface sets the bind interface of the Snowflake.
func (*Snowflake) SetEgressFilter ¶
SetEgressFilter sets the egress filter of the Snowflake.
func (*Snowflake) SetSecretStoreID ¶
SetSecretStoreID sets the secret store id of the Snowflake.
type Snowsight ¶
type Snowsight struct {
// The bind interface is the IP address to which the port override of a resource is bound (for example, 127.0.0.1). It is automatically generated if not provided and may also be set to one of the ResourceIPAllocationMode constants to select between VNM, loopback, or default allocation.
BindInterface string `json:"bindInterface"`
// If true, select the ACS with isDefault=true
ConnectToDefault bool `json:"connectToDefault"`
// A filter applied to the routing logic to pin datasource to nodes.
EgressFilter string `json:"egressFilter"`
// The StrongDM user email to use for healthchecks.
HealthcheckUsername string `json:"healthcheckUsername"`
// True if the datasource is reachable and the credentials are valid.
Healthy bool `json:"healthy"`
// Unique identifier of the Resource.
ID string `json:"id"`
// Unique human-readable name of the Resource.
Name string `json:"name"`
// The local port used by clients to connect to this resource. It is automatically generated if not provided on create and may be re-generated on update by specifying a value of -1.
PortOverride int32 `json:"portOverride"`
// ID of the proxy cluster for this resource, if any.
ProxyClusterID string `json:"proxyClusterId"`
// The Metadata for your snowflake IDP integration
SamlMetadata string `json:"samlMetadata"`
// ID of the secret store containing credentials for this resource, if any.
SecretStoreID string `json:"secretStoreId"`
// Subdomain is the local DNS address. (e.g. app-prod1 turns into app-prod1.your-org-name.sdm.network)
Subdomain string `json:"subdomain"`
// Tags is a map of key, value pairs.
Tags Tags `json:"tags"`
// This option enforces HTTPS on the client, not resource connection.
UseHttps bool `json:"useHttps"`
}
func (*Snowsight) GetBindInterface ¶
GetBindInterface returns the bind interface of the Snowsight.
func (*Snowsight) GetEgressFilter ¶
GetEgressFilter returns the egress filter of the Snowsight.
func (*Snowsight) GetSecretStoreID ¶
GetSecretStoreID returns the secret store id of the Snowsight.
func (*Snowsight) SetBindInterface ¶
SetBindInterface sets the bind interface of the Snowsight.
func (*Snowsight) SetEgressFilter ¶
SetEgressFilter sets the egress filter of the Snowsight.
func (*Snowsight) SetSecretStoreID ¶
SetSecretStoreID sets the secret store id of the Snowsight.
type SqlserverEngine ¶
type SqlserverEngine struct {
// The default time-to-live duration of the password after it's read. Once the ttl has passed, a password will be rotated.
AfterReadTtl time.Duration `json:"afterReadTtl"`
// Database is the database to verify credential against.
Database string `json:"database"`
// Hostname is the hostname or IP address of the SQL Server.
Hostname string `json:"hostname"`
// Unique identifier of the Secret Engine.
ID string `json:"id"`
// An interval of public/private key rotation for secret engine in days
KeyRotationIntervalDays int32 `json:"keyRotationIntervalDays"`
// Unique human-readable name of the Secret Engine.
Name string `json:"name"`
// node selector is used to narrow down the nodes used to communicate with with secret engine
NodeSelector string `json:"nodeSelector"`
// Password is the password to connect to the SQL Server server.
Password string `json:"password"`
// Policy for password creation
Policy *SecretEnginePolicy `json:"policy"`
// Port is the port number of the SQL Server server.
Port uint32 `json:"port"`
// Public key linked with a secret engine
PublicKey []byte `json:"publicKey"`
// Backing secret store identifier
SecretStoreID string `json:"secretStoreId"`
// Backing Secret Store root path where managed secrets are going to be stored
SecretStoreRootPath string `json:"secretStoreRootPath"`
// Tags is a map of key, value pairs.
Tags Tags `json:"tags"`
// TLS enables TLS/SSL when connecting to the SQL Server server.
Tls bool `json:"tls"`
// TLS disable certificate verification
TlsSkipVerify bool `json:"tlsSkipVerify"`
// The default password time-to-live duration. Once the ttl has passed, a password will be rotated the next time it's requested.
Ttl time.Duration `json:"ttl"`
// Username is the username to connect to the SQL Server.
Username string `json:"username"`
}
func (*SqlserverEngine) GetID ¶
func (m *SqlserverEngine) GetID() string
GetID returns the unique identifier of the SqlserverEngine.
func (*SqlserverEngine) GetKeyRotationIntervalDays ¶ added in v16.6.0
func (m *SqlserverEngine) GetKeyRotationIntervalDays() int32
GetKeyRotationIntervalDays returns the key rotation interval days of the SqlserverEngine.
func (*SqlserverEngine) GetName ¶
func (m *SqlserverEngine) GetName() string
GetName returns the name of the SqlserverEngine.
func (*SqlserverEngine) GetNodeSelector ¶ added in v16.6.0
func (m *SqlserverEngine) GetNodeSelector() string
GetNodeSelector returns the node selector of the SqlserverEngine.
func (*SqlserverEngine) GetPublicKey ¶
func (m *SqlserverEngine) GetPublicKey() []byte
GetPublicKey returns the public key of the SqlserverEngine.
func (*SqlserverEngine) GetSecretStoreID ¶
func (m *SqlserverEngine) GetSecretStoreID() string
GetSecretStoreID returns the secret store id of the SqlserverEngine.
func (*SqlserverEngine) GetSecretStoreRootPath ¶
func (m *SqlserverEngine) GetSecretStoreRootPath() string
GetSecretStoreRootPath returns the secret store root path of the SqlserverEngine.
func (*SqlserverEngine) GetTags ¶
func (m *SqlserverEngine) GetTags() Tags
GetTags returns the tags of the SqlserverEngine.
func (*SqlserverEngine) SetKeyRotationIntervalDays ¶ added in v16.6.0
func (m *SqlserverEngine) SetKeyRotationIntervalDays(v int32)
SetKeyRotationIntervalDays sets the key rotation interval days of the SqlserverEngine.
func (*SqlserverEngine) SetName ¶
func (m *SqlserverEngine) SetName(v string)
SetName sets the name of the SqlserverEngine.
func (*SqlserverEngine) SetNodeSelector ¶ added in v16.6.0
func (m *SqlserverEngine) SetNodeSelector(v string)
SetNodeSelector sets the node selector of the SqlserverEngine.
func (*SqlserverEngine) SetPublicKey ¶
func (m *SqlserverEngine) SetPublicKey(v []byte)
SetPublicKey sets the public key of the SqlserverEngine.
func (*SqlserverEngine) SetSecretStoreID ¶
func (m *SqlserverEngine) SetSecretStoreID(v string)
SetSecretStoreID sets the secret store id of the SqlserverEngine.
func (*SqlserverEngine) SetSecretStoreRootPath ¶
func (m *SqlserverEngine) SetSecretStoreRootPath(v string)
SetSecretStoreRootPath sets the secret store root path of the SqlserverEngine.
func (*SqlserverEngine) SetTags ¶
func (m *SqlserverEngine) SetTags(v Tags)
SetTags sets the tags of the SqlserverEngine.
type StrongVaultStore ¶
type StrongVaultStore struct {
// Unique identifier of the SecretStore.
ID string `json:"id"`
// Unique human-readable name of the SecretStore.
Name string `json:"name"`
// Tags is a map of key, value pairs.
Tags Tags `json:"tags"`
}
func (*StrongVaultStore) GetID ¶
func (m *StrongVaultStore) GetID() string
GetID returns the unique identifier of the StrongVaultStore.
func (*StrongVaultStore) GetName ¶
func (m *StrongVaultStore) GetName() string
GetName returns the name of the StrongVaultStore.
func (*StrongVaultStore) GetTags ¶
func (m *StrongVaultStore) GetTags() Tags
GetTags returns the tags of the StrongVaultStore.
func (*StrongVaultStore) SetName ¶
func (m *StrongVaultStore) SetName(v string)
SetName sets the name of the StrongVaultStore.
func (*StrongVaultStore) SetTags ¶
func (m *StrongVaultStore) SetTags(v Tags)
SetTags sets the tags of the StrongVaultStore.
type Sybase ¶
type Sybase struct {
// The bind interface is the IP address to which the port override of a resource is bound (for example, 127.0.0.1). It is automatically generated if not provided and may also be set to one of the ResourceIPAllocationMode constants to select between VNM, loopback, or default allocation.
BindInterface string `json:"bindInterface"`
// A filter applied to the routing logic to pin datasource to nodes.
EgressFilter string `json:"egressFilter"`
// True if the datasource is reachable and the credentials are valid.
Healthy bool `json:"healthy"`
// The host to dial to initiate a connection from the egress node to this resource.
Hostname string `json:"hostname"`
// Unique identifier of the Resource.
ID string `json:"id"`
// Unique human-readable name of the Resource.
Name string `json:"name"`
// The password to authenticate with.
Password string `json:"password"`
// The port to dial to initiate a connection from the egress node to this resource.
Port int32 `json:"port"`
// The local port used by clients to connect to this resource. It is automatically generated if not provided on create and may be re-generated on update by specifying a value of -1.
PortOverride int32 `json:"portOverride"`
// ID of the proxy cluster for this resource, if any.
ProxyClusterID string `json:"proxyClusterId"`
// ID of the secret store containing credentials for this resource, if any.
SecretStoreID string `json:"secretStoreId"`
// DNS subdomain through which this resource may be accessed on clients. (e.g. "app-prod1" allows the resource to be accessed at "app-prod1.your-org-name.sdm-proxy-domain"). Only applicable to HTTP-based resources or resources using virtual networking mode.
Subdomain string `json:"subdomain"`
// Tags is a map of key, value pairs.
Tags Tags `json:"tags"`
// The username to authenticate with.
Username string `json:"username"`
}
func (*Sybase) GetBindInterface ¶
GetBindInterface returns the bind interface of the Sybase.
func (*Sybase) GetEgressFilter ¶
GetEgressFilter returns the egress filter of the Sybase.
func (*Sybase) GetSecretStoreID ¶
GetSecretStoreID returns the secret store id of the Sybase.
func (*Sybase) SetBindInterface ¶
SetBindInterface sets the bind interface of the Sybase.
func (*Sybase) SetEgressFilter ¶
SetEgressFilter sets the egress filter of the Sybase.
func (*Sybase) SetSecretStoreID ¶
SetSecretStoreID sets the secret store id of the Sybase.
type SybaseIQ ¶
type SybaseIQ struct {
// The bind interface is the IP address to which the port override of a resource is bound (for example, 127.0.0.1). It is automatically generated if not provided and may also be set to one of the ResourceIPAllocationMode constants to select between VNM, loopback, or default allocation.
BindInterface string `json:"bindInterface"`
// A filter applied to the routing logic to pin datasource to nodes.
EgressFilter string `json:"egressFilter"`
// True if the datasource is reachable and the credentials are valid.
Healthy bool `json:"healthy"`
// The host to dial to initiate a connection from the egress node to this resource.
Hostname string `json:"hostname"`
// Unique identifier of the Resource.
ID string `json:"id"`
// Unique human-readable name of the Resource.
Name string `json:"name"`
// The password to authenticate with.
Password string `json:"password"`
// The port to dial to initiate a connection from the egress node to this resource.
Port int32 `json:"port"`
// The local port used by clients to connect to this resource. It is automatically generated if not provided on create and may be re-generated on update by specifying a value of -1.
PortOverride int32 `json:"portOverride"`
// ID of the proxy cluster for this resource, if any.
ProxyClusterID string `json:"proxyClusterId"`
// ID of the secret store containing credentials for this resource, if any.
SecretStoreID string `json:"secretStoreId"`
// DNS subdomain through which this resource may be accessed on clients. (e.g. "app-prod1" allows the resource to be accessed at "app-prod1.your-org-name.sdm-proxy-domain"). Only applicable to HTTP-based resources or resources using virtual networking mode.
Subdomain string `json:"subdomain"`
// Tags is a map of key, value pairs.
Tags Tags `json:"tags"`
// The username to authenticate with.
Username string `json:"username"`
}
func (*SybaseIQ) GetBindInterface ¶
GetBindInterface returns the bind interface of the SybaseIQ.
func (*SybaseIQ) GetEgressFilter ¶
GetEgressFilter returns the egress filter of the SybaseIQ.
func (*SybaseIQ) GetSecretStoreID ¶
GetSecretStoreID returns the secret store id of the SybaseIQ.
func (*SybaseIQ) SetBindInterface ¶
SetBindInterface sets the bind interface of the SybaseIQ.
func (*SybaseIQ) SetEgressFilter ¶
SetEgressFilter sets the egress filter of the SybaseIQ.
func (*SybaseIQ) SetSecretStoreID ¶
SetSecretStoreID sets the secret store id of the SybaseIQ.
type TagIterator ¶
type TagIterator interface {
// Next advances the iterator to the next item in the list. It returns
// true if an item is available to retrieve via the `Value()` function.
Next() bool
// Value returns the current item, if one is available.
Value() *Tag
// Err returns the first error encountered during iteration, if any.
Err() error
}
TagIterator provides read access to a list of Tag. Use it like so:
for iterator.Next() {
tag := iterator.Value()
// ...
}
type Teradata ¶
type Teradata struct {
// The bind interface is the IP address to which the port override of a resource is bound (for example, 127.0.0.1). It is automatically generated if not provided and may also be set to one of the ResourceIPAllocationMode constants to select between VNM, loopback, or default allocation.
BindInterface string `json:"bindInterface"`
// A filter applied to the routing logic to pin datasource to nodes.
EgressFilter string `json:"egressFilter"`
// True if the datasource is reachable and the credentials are valid.
Healthy bool `json:"healthy"`
// The host to dial to initiate a connection from the egress node to this resource.
Hostname string `json:"hostname"`
// Unique identifier of the Resource.
ID string `json:"id"`
// Unique human-readable name of the Resource.
Name string `json:"name"`
// The password to authenticate with.
Password string `json:"password"`
// The port to dial to initiate a connection from the egress node to this resource.
Port int32 `json:"port"`
// The local port used by clients to connect to this resource. It is automatically generated if not provided on create and may be re-generated on update by specifying a value of -1.
PortOverride int32 `json:"portOverride"`
// ID of the proxy cluster for this resource, if any.
ProxyClusterID string `json:"proxyClusterId"`
// ID of the secret store containing credentials for this resource, if any.
SecretStoreID string `json:"secretStoreId"`
// DNS subdomain through which this resource may be accessed on clients. (e.g. "app-prod1" allows the resource to be accessed at "app-prod1.your-org-name.sdm-proxy-domain"). Only applicable to HTTP-based resources or resources using virtual networking mode.
Subdomain string `json:"subdomain"`
// Tags is a map of key, value pairs.
Tags Tags `json:"tags"`
// The username to authenticate with.
Username string `json:"username"`
}
func (*Teradata) GetBindInterface ¶
GetBindInterface returns the bind interface of the Teradata.
func (*Teradata) GetEgressFilter ¶
GetEgressFilter returns the egress filter of the Teradata.
func (*Teradata) GetSecretStoreID ¶
GetSecretStoreID returns the secret store id of the Teradata.
func (*Teradata) SetBindInterface ¶
SetBindInterface sets the bind interface of the Teradata.
func (*Teradata) SetEgressFilter ¶
SetEgressFilter sets the egress filter of the Teradata.
func (*Teradata) SetSecretStoreID ¶
SetSecretStoreID sets the secret store id of the Teradata.
type Token ¶
type Token struct {
// Corresponds to the type of token, e.g. api or admin-token.
AccountType string `json:"accountType"`
// CreatedAt is the timestamp when the token was created
CreatedAt time.Time `json:"createdAt"`
// The timestamp when the Token will expire.
Deadline time.Time `json:"deadline"`
// Duration from token creation to expiration.
Duration time.Duration `json:"duration"`
// Unique identifier of the Token.
ID string `json:"id"`
// Unique human-readable name of the Token.
Name string `json:"name"`
// Permissions assigned to the token, e.g. role:create.
Permissions []string `json:"permissions"`
// The timestamp when the Token was last rekeyed.
Rekeyed time.Time `json:"rekeyed"`
// Reserved for future use. Always false for tokens.
Suspended bool `json:"suspended"`
// Tags is a map of key, value pairs.
Tags Tags `json:"tags"`
}
A Token is an account providing tokenized access for automation or integration use. Tokens include admin tokens, API keys, and SCIM tokens.
func (*Token) GetCreatedAt ¶
GetCreatedAt returns the created at of the Token.
func (*Token) IsSuspended ¶
IsSuspended returns whether the Token is suspended.
func (*Token) SetCreatedAt ¶
SetCreatedAt sets the created at of the Token.
func (*Token) SetSuspended ¶
SetSuspended sets the suspended of the Token.
type Trino ¶
type Trino struct {
// The bind interface is the IP address to which the port override of a resource is bound (for example, 127.0.0.1). It is automatically generated if not provided and may also be set to one of the ResourceIPAllocationMode constants to select between VNM, loopback, or default allocation.
BindInterface string `json:"bindInterface"`
// A filter applied to the routing logic to pin datasource to nodes.
EgressFilter string `json:"egressFilter"`
// True if the datasource is reachable and the credentials are valid.
Healthy bool `json:"healthy"`
// The host to dial to initiate a connection from the egress node to this resource.
Hostname string `json:"hostname"`
// Unique identifier of the Resource.
ID string `json:"id"`
// Unique human-readable name of the Resource.
Name string `json:"name"`
// The password to authenticate with.
Password string `json:"password"`
// The port to dial to initiate a connection from the egress node to this resource.
Port int32 `json:"port"`
// The local port used by clients to connect to this resource. It is automatically generated if not provided on create and may be re-generated on update by specifying a value of -1.
PortOverride int32 `json:"portOverride"`
// ID of the proxy cluster for this resource, if any.
ProxyClusterID string `json:"proxyClusterId"`
// ID of the secret store containing credentials for this resource, if any.
SecretStoreID string `json:"secretStoreId"`
// DNS subdomain through which this resource may be accessed on clients. (e.g. "app-prod1" allows the resource to be accessed at "app-prod1.your-org-name.sdm-proxy-domain"). Only applicable to HTTP-based resources or resources using virtual networking mode.
Subdomain string `json:"subdomain"`
// Tags is a map of key, value pairs.
Tags Tags `json:"tags"`
// If set, TLS must be used to connect to this resource.
TlsRequired bool `json:"tlsRequired"`
// The username to authenticate with.
Username string `json:"username"`
}
func (*Trino) GetBindInterface ¶
GetBindInterface returns the bind interface of the Trino.
func (*Trino) GetEgressFilter ¶
GetEgressFilter returns the egress filter of the Trino.
func (*Trino) GetSecretStoreID ¶
GetSecretStoreID returns the secret store id of the Trino.
func (*Trino) SetBindInterface ¶
SetBindInterface sets the bind interface of the Trino.
func (*Trino) SetEgressFilter ¶
SetEgressFilter sets the egress filter of the Trino.
func (*Trino) SetSecretStoreID ¶
SetSecretStoreID sets the secret store id of the Trino.
type UnknownError ¶
type UnknownError struct {
// Wrapped is a underlying error.
Wrapped error
}
UnknownError is a generic wrapper that indicates an unknown internal error in the SDK.
func (*UnknownError) Code ¶
func (e *UnknownError) Code() int
func (*UnknownError) Error ¶
func (e *UnknownError) Error() string
func (*UnknownError) Unwrap ¶
func (e *UnknownError) Unwrap() error
type UpdateResponseMetadata ¶
type UpdateResponseMetadata struct {
}
UpdateResponseMetadata is reserved for future use.
type User ¶
type User struct {
// SCIM contains the raw SCIM metadata for the user. This is a read-only field.
SCIM string `json:"scim"`
// CreatedAt is the timestamp when the user was created
CreatedAt time.Time `json:"createdAt"`
// The User's email address. Must be unique.
Email string `json:"email"`
// Internal employee ID used to identify the user.
EmployeeNumber string `json:"employeeNumber"`
// External ID is an alternative unique ID this user is represented by within an external service.
ExternalID string `json:"externalId"`
// The User's first name.
FirstName string `json:"firstName"`
// Unique identifier of the User.
ID string `json:"id"`
// The User's last name.
LastName string `json:"lastName"`
// Managed By is a read only field for what service manages this user, e.g. StrongDM, Okta, Azure.
ManagedBy string `json:"managedBy"`
// Manager ID is the ID of the user's manager. This field is empty when the user has no manager.
ManagerID string `json:"managerId"`
// Password is a write-only field that can be used to set the user's password.
// Currently only supported for update.
Password string `json:"password"`
// PermissionLevel is the user's permission level e.g. admin, DBA, user.
PermissionLevel string `json:"permissionLevel"`
// Resolved Manager ID is the ID of the user's manager derived from the manager_id,
// if present, or from the SCIM metadata.
// This is a read-only field that's only populated for get and list.
ResolvedManagerID string `json:"resolvedManagerId"`
// Suspended is a read only field for the User's suspended state.
Suspended bool `json:"suspended"`
// Tags is a map of key, value pairs.
Tags Tags `json:"tags"`
}
A User can connect to resources they are granted directly, or granted via roles.
func (*User) GetCreatedAt ¶
GetCreatedAt returns the created at of the User.
func (*User) IsSuspended ¶
IsSuspended returns whether the User is suspended.
func (*User) SetCreatedAt ¶
SetCreatedAt sets the created at of the User.
func (*User) SetSuspended ¶
SetSuspended sets the suspended of the User.
type VaultAWSEC2CertSSHStore ¶
type VaultAWSEC2CertSSHStore struct {
// Unique identifier of the SecretStore.
ID string `json:"id"`
// The lifetime of certificates issued by this CA in minutes. Recommended value is 5.
IssuedCertTTLMinutes int32 `json:"issuedCertTtlMinutes"`
// Unique human-readable name of the SecretStore.
Name string `json:"name"`
// The namespace to make requests within
Namespace string `json:"namespace"`
// The URL of the Vault to target
ServerAddress string `json:"serverAddress"`
// The signing role to be used for signing certificates
SigningRole string `json:"signingRole"`
// The mount point of the SSH engine configured with the desired CA
SshMountPoint string `json:"sshMountPoint"`
// Tags is a map of key, value pairs.
Tags Tags `json:"tags"`
}
func (*VaultAWSEC2CertSSHStore) GetID ¶
func (m *VaultAWSEC2CertSSHStore) GetID() string
GetID returns the unique identifier of the VaultAWSEC2CertSSHStore.
func (*VaultAWSEC2CertSSHStore) GetName ¶
func (m *VaultAWSEC2CertSSHStore) GetName() string
GetName returns the name of the VaultAWSEC2CertSSHStore.
func (*VaultAWSEC2CertSSHStore) GetTags ¶
func (m *VaultAWSEC2CertSSHStore) GetTags() Tags
GetTags returns the tags of the VaultAWSEC2CertSSHStore.
func (*VaultAWSEC2CertSSHStore) SetName ¶
func (m *VaultAWSEC2CertSSHStore) SetName(v string)
SetName sets the name of the VaultAWSEC2CertSSHStore.
func (*VaultAWSEC2CertSSHStore) SetTags ¶
func (m *VaultAWSEC2CertSSHStore) SetTags(v Tags)
SetTags sets the tags of the VaultAWSEC2CertSSHStore.
type VaultAWSEC2CertX509Store ¶
type VaultAWSEC2CertX509Store struct {
// Unique identifier of the SecretStore.
ID string `json:"id"`
// The lifetime of certificates issued by this CA represented in minutes.
IssuedCertTTLMinutes int32 `json:"issuedCertTtlMinutes"`
// Unique human-readable name of the SecretStore.
Name string `json:"name"`
// The namespace to make requests within
Namespace string `json:"namespace"`
// The mount point of the PKI engine configured with the desired CA
PkiMountPoint string `json:"pkiMountPoint"`
// The URL of the Vault to target
ServerAddress string `json:"serverAddress"`
// The signing role to be used for signing certificates
SigningRole string `json:"signingRole"`
// Tags is a map of key, value pairs.
Tags Tags `json:"tags"`
}
func (*VaultAWSEC2CertX509Store) GetID ¶
func (m *VaultAWSEC2CertX509Store) GetID() string
GetID returns the unique identifier of the VaultAWSEC2CertX509Store.
func (*VaultAWSEC2CertX509Store) GetName ¶
func (m *VaultAWSEC2CertX509Store) GetName() string
GetName returns the name of the VaultAWSEC2CertX509Store.
func (*VaultAWSEC2CertX509Store) GetTags ¶
func (m *VaultAWSEC2CertX509Store) GetTags() Tags
GetTags returns the tags of the VaultAWSEC2CertX509Store.
func (*VaultAWSEC2CertX509Store) SetName ¶
func (m *VaultAWSEC2CertX509Store) SetName(v string)
SetName sets the name of the VaultAWSEC2CertX509Store.
func (*VaultAWSEC2CertX509Store) SetTags ¶
func (m *VaultAWSEC2CertX509Store) SetTags(v Tags)
SetTags sets the tags of the VaultAWSEC2CertX509Store.
type VaultAWSEC2Store ¶
type VaultAWSEC2Store struct {
// Unique identifier of the SecretStore.
ID string `json:"id"`
// Unique human-readable name of the SecretStore.
Name string `json:"name"`
// The namespace to make requests within
Namespace string `json:"namespace"`
// The URL of the Vault to target
ServerAddress string `json:"serverAddress"`
// Tags is a map of key, value pairs.
Tags Tags `json:"tags"`
}
func (*VaultAWSEC2Store) GetID ¶
func (m *VaultAWSEC2Store) GetID() string
GetID returns the unique identifier of the VaultAWSEC2Store.
func (*VaultAWSEC2Store) GetName ¶
func (m *VaultAWSEC2Store) GetName() string
GetName returns the name of the VaultAWSEC2Store.
func (*VaultAWSEC2Store) GetTags ¶
func (m *VaultAWSEC2Store) GetTags() Tags
GetTags returns the tags of the VaultAWSEC2Store.
func (*VaultAWSEC2Store) SetName ¶
func (m *VaultAWSEC2Store) SetName(v string)
SetName sets the name of the VaultAWSEC2Store.
func (*VaultAWSEC2Store) SetTags ¶
func (m *VaultAWSEC2Store) SetTags(v Tags)
SetTags sets the tags of the VaultAWSEC2Store.
type VaultAWSIAMCertSSHStore ¶
type VaultAWSIAMCertSSHStore struct {
// Unique identifier of the SecretStore.
ID string `json:"id"`
// The lifetime of certificates issued by this CA in minutes. Recommended value is 5.
IssuedCertTTLMinutes int32 `json:"issuedCertTtlMinutes"`
// Unique human-readable name of the SecretStore.
Name string `json:"name"`
// The namespace to make requests within
Namespace string `json:"namespace"`
// The URL of the Vault to target
ServerAddress string `json:"serverAddress"`
// The signing role to be used for signing certificates
SigningRole string `json:"signingRole"`
// The mount point of the SSH engine configured with the desired CA
SshMountPoint string `json:"sshMountPoint"`
// Tags is a map of key, value pairs.
Tags Tags `json:"tags"`
}
func (*VaultAWSIAMCertSSHStore) GetID ¶
func (m *VaultAWSIAMCertSSHStore) GetID() string
GetID returns the unique identifier of the VaultAWSIAMCertSSHStore.
func (*VaultAWSIAMCertSSHStore) GetName ¶
func (m *VaultAWSIAMCertSSHStore) GetName() string
GetName returns the name of the VaultAWSIAMCertSSHStore.
func (*VaultAWSIAMCertSSHStore) GetTags ¶
func (m *VaultAWSIAMCertSSHStore) GetTags() Tags
GetTags returns the tags of the VaultAWSIAMCertSSHStore.
func (*VaultAWSIAMCertSSHStore) SetName ¶
func (m *VaultAWSIAMCertSSHStore) SetName(v string)
SetName sets the name of the VaultAWSIAMCertSSHStore.
func (*VaultAWSIAMCertSSHStore) SetTags ¶
func (m *VaultAWSIAMCertSSHStore) SetTags(v Tags)
SetTags sets the tags of the VaultAWSIAMCertSSHStore.
type VaultAWSIAMCertX509Store ¶
type VaultAWSIAMCertX509Store struct {
// Unique identifier of the SecretStore.
ID string `json:"id"`
// The lifetime of certificates issued by this CA represented in minutes.
IssuedCertTTLMinutes int32 `json:"issuedCertTtlMinutes"`
// Unique human-readable name of the SecretStore.
Name string `json:"name"`
// The namespace to make requests within
Namespace string `json:"namespace"`
// The mount point of the PKI engine configured with the desired CA
PkiMountPoint string `json:"pkiMountPoint"`
// The URL of the Vault to target
ServerAddress string `json:"serverAddress"`
// The signing role to be used for signing certificates
SigningRole string `json:"signingRole"`
// Tags is a map of key, value pairs.
Tags Tags `json:"tags"`
}
func (*VaultAWSIAMCertX509Store) GetID ¶
func (m *VaultAWSIAMCertX509Store) GetID() string
GetID returns the unique identifier of the VaultAWSIAMCertX509Store.
func (*VaultAWSIAMCertX509Store) GetName ¶
func (m *VaultAWSIAMCertX509Store) GetName() string
GetName returns the name of the VaultAWSIAMCertX509Store.
func (*VaultAWSIAMCertX509Store) GetTags ¶
func (m *VaultAWSIAMCertX509Store) GetTags() Tags
GetTags returns the tags of the VaultAWSIAMCertX509Store.
func (*VaultAWSIAMCertX509Store) SetName ¶
func (m *VaultAWSIAMCertX509Store) SetName(v string)
SetName sets the name of the VaultAWSIAMCertX509Store.
func (*VaultAWSIAMCertX509Store) SetTags ¶
func (m *VaultAWSIAMCertX509Store) SetTags(v Tags)
SetTags sets the tags of the VaultAWSIAMCertX509Store.
type VaultAWSIAMStore ¶
type VaultAWSIAMStore struct {
// Unique identifier of the SecretStore.
ID string `json:"id"`
// Unique human-readable name of the SecretStore.
Name string `json:"name"`
// The namespace to make requests within
Namespace string `json:"namespace"`
// The URL of the Vault to target
ServerAddress string `json:"serverAddress"`
// Tags is a map of key, value pairs.
Tags Tags `json:"tags"`
}
func (*VaultAWSIAMStore) GetID ¶
func (m *VaultAWSIAMStore) GetID() string
GetID returns the unique identifier of the VaultAWSIAMStore.
func (*VaultAWSIAMStore) GetName ¶
func (m *VaultAWSIAMStore) GetName() string
GetName returns the name of the VaultAWSIAMStore.
func (*VaultAWSIAMStore) GetTags ¶
func (m *VaultAWSIAMStore) GetTags() Tags
GetTags returns the tags of the VaultAWSIAMStore.
func (*VaultAWSIAMStore) SetName ¶
func (m *VaultAWSIAMStore) SetName(v string)
SetName sets the name of the VaultAWSIAMStore.
func (*VaultAWSIAMStore) SetTags ¶
func (m *VaultAWSIAMStore) SetTags(v Tags)
SetTags sets the tags of the VaultAWSIAMStore.
type VaultAppRoleCertSSHStore ¶
type VaultAppRoleCertSSHStore struct {
// Unique identifier of the SecretStore.
ID string `json:"id"`
// The lifetime of certificates issued by this CA represented in minutes.
IssuedCertTTLMinutes int32 `json:"issuedCertTtlMinutes"`
// Unique human-readable name of the SecretStore.
Name string `json:"name"`
// The namespace to make requests within
Namespace string `json:"namespace"`
// The URL of the Vault to target
ServerAddress string `json:"serverAddress"`
// The signing role to be used for signing certificates
SigningRole string `json:"signingRole"`
// The mount point of the SSH engine configured with the desired CA
SshMountPoint string `json:"sshMountPoint"`
// Tags is a map of key, value pairs.
Tags Tags `json:"tags"`
}
func (*VaultAppRoleCertSSHStore) GetID ¶
func (m *VaultAppRoleCertSSHStore) GetID() string
GetID returns the unique identifier of the VaultAppRoleCertSSHStore.
func (*VaultAppRoleCertSSHStore) GetName ¶
func (m *VaultAppRoleCertSSHStore) GetName() string
GetName returns the name of the VaultAppRoleCertSSHStore.
func (*VaultAppRoleCertSSHStore) GetTags ¶
func (m *VaultAppRoleCertSSHStore) GetTags() Tags
GetTags returns the tags of the VaultAppRoleCertSSHStore.
func (*VaultAppRoleCertSSHStore) SetName ¶
func (m *VaultAppRoleCertSSHStore) SetName(v string)
SetName sets the name of the VaultAppRoleCertSSHStore.
func (*VaultAppRoleCertSSHStore) SetTags ¶
func (m *VaultAppRoleCertSSHStore) SetTags(v Tags)
SetTags sets the tags of the VaultAppRoleCertSSHStore.
type VaultAppRoleCertX509Store ¶
type VaultAppRoleCertX509Store struct {
// Unique identifier of the SecretStore.
ID string `json:"id"`
// The lifetime of certificates issued by this CA in minutes. Recommended value is 5.
IssuedCertTTLMinutes int32 `json:"issuedCertTtlMinutes"`
// Unique human-readable name of the SecretStore.
Name string `json:"name"`
// The namespace to make requests within
Namespace string `json:"namespace"`
// The mount point of the PKI engine configured with the desired CA
PkiMountPoint string `json:"pkiMountPoint"`
// The URL of the Vault to target
ServerAddress string `json:"serverAddress"`
// The signing role to be used for signing certificates
SigningRole string `json:"signingRole"`
// Tags is a map of key, value pairs.
Tags Tags `json:"tags"`
}
func (*VaultAppRoleCertX509Store) GetID ¶
func (m *VaultAppRoleCertX509Store) GetID() string
GetID returns the unique identifier of the VaultAppRoleCertX509Store.
func (*VaultAppRoleCertX509Store) GetName ¶
func (m *VaultAppRoleCertX509Store) GetName() string
GetName returns the name of the VaultAppRoleCertX509Store.
func (*VaultAppRoleCertX509Store) GetTags ¶
func (m *VaultAppRoleCertX509Store) GetTags() Tags
GetTags returns the tags of the VaultAppRoleCertX509Store.
func (*VaultAppRoleCertX509Store) SetName ¶
func (m *VaultAppRoleCertX509Store) SetName(v string)
SetName sets the name of the VaultAppRoleCertX509Store.
func (*VaultAppRoleCertX509Store) SetTags ¶
func (m *VaultAppRoleCertX509Store) SetTags(v Tags)
SetTags sets the tags of the VaultAppRoleCertX509Store.
type VaultAppRoleStore ¶
type VaultAppRoleStore struct {
// Unique identifier of the SecretStore.
ID string `json:"id"`
// Unique human-readable name of the SecretStore.
Name string `json:"name"`
// The namespace to make requests within
Namespace string `json:"namespace"`
// The URL of the Vault to target
ServerAddress string `json:"serverAddress"`
// Tags is a map of key, value pairs.
Tags Tags `json:"tags"`
}
func (*VaultAppRoleStore) GetID ¶
func (m *VaultAppRoleStore) GetID() string
GetID returns the unique identifier of the VaultAppRoleStore.
func (*VaultAppRoleStore) GetName ¶
func (m *VaultAppRoleStore) GetName() string
GetName returns the name of the VaultAppRoleStore.
func (*VaultAppRoleStore) GetTags ¶
func (m *VaultAppRoleStore) GetTags() Tags
GetTags returns the tags of the VaultAppRoleStore.
func (*VaultAppRoleStore) SetName ¶
func (m *VaultAppRoleStore) SetName(v string)
SetName sets the name of the VaultAppRoleStore.
func (*VaultAppRoleStore) SetTags ¶
func (m *VaultAppRoleStore) SetTags(v Tags)
SetTags sets the tags of the VaultAppRoleStore.
type VaultTLSCertSSHStore ¶
type VaultTLSCertSSHStore struct {
// A path to a CA file accessible by a Node
CACertPath string `json:"caCertPath"`
// A path to a client certificate file accessible by a Node
ClientCertPath string `json:"clientCertPath"`
// A path to a client key file accessible by a Node
ClientKeyPath string `json:"clientKeyPath"`
// Unique identifier of the SecretStore.
ID string `json:"id"`
// The lifetime of certificates issued by this CA represented in minutes.
IssuedCertTTLMinutes int32 `json:"issuedCertTtlMinutes"`
// Unique human-readable name of the SecretStore.
Name string `json:"name"`
// The namespace to make requests within
Namespace string `json:"namespace"`
// The URL of the Vault to target
ServerAddress string `json:"serverAddress"`
// The signing role to be used for signing certificates
SigningRole string `json:"signingRole"`
// The mount point of the SSH engine configured with the desired CA
SshMountPoint string `json:"sshMountPoint"`
// Tags is a map of key, value pairs.
Tags Tags `json:"tags"`
}
func (*VaultTLSCertSSHStore) GetID ¶
func (m *VaultTLSCertSSHStore) GetID() string
GetID returns the unique identifier of the VaultTLSCertSSHStore.
func (*VaultTLSCertSSHStore) GetName ¶
func (m *VaultTLSCertSSHStore) GetName() string
GetName returns the name of the VaultTLSCertSSHStore.
func (*VaultTLSCertSSHStore) GetTags ¶
func (m *VaultTLSCertSSHStore) GetTags() Tags
GetTags returns the tags of the VaultTLSCertSSHStore.
func (*VaultTLSCertSSHStore) SetName ¶
func (m *VaultTLSCertSSHStore) SetName(v string)
SetName sets the name of the VaultTLSCertSSHStore.
func (*VaultTLSCertSSHStore) SetTags ¶
func (m *VaultTLSCertSSHStore) SetTags(v Tags)
SetTags sets the tags of the VaultTLSCertSSHStore.
type VaultTLSCertX509Store ¶
type VaultTLSCertX509Store struct {
// A path to a CA file accessible by a Node
CACertPath string `json:"caCertPath"`
// A path to a client certificate file accessible by a Node
ClientCertPath string `json:"clientCertPath"`
// A path to a client key file accessible by a Node
ClientKeyPath string `json:"clientKeyPath"`
// Unique identifier of the SecretStore.
ID string `json:"id"`
// The lifetime of certificates issued by this CA represented in minutes.
IssuedCertTTLMinutes int32 `json:"issuedCertTtlMinutes"`
// Unique human-readable name of the SecretStore.
Name string `json:"name"`
// The namespace to make requests within
Namespace string `json:"namespace"`
// The mount point of the PKI engine configured with the desired CA
PkiMountPoint string `json:"pkiMountPoint"`
// The URL of the Vault to target
ServerAddress string `json:"serverAddress"`
// The signing role to be used for signing certificates
SigningRole string `json:"signingRole"`
// Tags is a map of key, value pairs.
Tags Tags `json:"tags"`
}
func (*VaultTLSCertX509Store) GetID ¶
func (m *VaultTLSCertX509Store) GetID() string
GetID returns the unique identifier of the VaultTLSCertX509Store.
func (*VaultTLSCertX509Store) GetName ¶
func (m *VaultTLSCertX509Store) GetName() string
GetName returns the name of the VaultTLSCertX509Store.
func (*VaultTLSCertX509Store) GetTags ¶
func (m *VaultTLSCertX509Store) GetTags() Tags
GetTags returns the tags of the VaultTLSCertX509Store.
func (*VaultTLSCertX509Store) SetName ¶
func (m *VaultTLSCertX509Store) SetName(v string)
SetName sets the name of the VaultTLSCertX509Store.
func (*VaultTLSCertX509Store) SetTags ¶
func (m *VaultTLSCertX509Store) SetTags(v Tags)
SetTags sets the tags of the VaultTLSCertX509Store.
type VaultTLSStore ¶
type VaultTLSStore struct {
// A path to a CA file accessible by a Node
CACertPath string `json:"caCertPath"`
// A path to a client certificate file accessible by a Node
ClientCertPath string `json:"clientCertPath"`
// A path to a client key file accessible by a Node
ClientKeyPath string `json:"clientKeyPath"`
// Unique identifier of the SecretStore.
ID string `json:"id"`
// Unique human-readable name of the SecretStore.
Name string `json:"name"`
// The namespace to make requests within
Namespace string `json:"namespace"`
// The URL of the Vault to target
ServerAddress string `json:"serverAddress"`
// Tags is a map of key, value pairs.
Tags Tags `json:"tags"`
}
func (*VaultTLSStore) GetID ¶
func (m *VaultTLSStore) GetID() string
GetID returns the unique identifier of the VaultTLSStore.
func (*VaultTLSStore) GetName ¶
func (m *VaultTLSStore) GetName() string
GetName returns the name of the VaultTLSStore.
func (*VaultTLSStore) GetTags ¶
func (m *VaultTLSStore) GetTags() Tags
GetTags returns the tags of the VaultTLSStore.
func (*VaultTLSStore) SetName ¶
func (m *VaultTLSStore) SetName(v string)
SetName sets the name of the VaultTLSStore.
func (*VaultTLSStore) SetTags ¶
func (m *VaultTLSStore) SetTags(v Tags)
SetTags sets the tags of the VaultTLSStore.
type VaultTokenCertSSHStore ¶
type VaultTokenCertSSHStore struct {
// Unique identifier of the SecretStore.
ID string `json:"id"`
// The lifetime of certificates issued by this CA in minutes. Recommended value is 5.
IssuedCertTTLMinutes int32 `json:"issuedCertTtlMinutes"`
// Unique human-readable name of the SecretStore.
Name string `json:"name"`
// The namespace to make requests within
Namespace string `json:"namespace"`
// The URL of the Vault to target
ServerAddress string `json:"serverAddress"`
// The signing role to be used for signing certificates
SigningRole string `json:"signingRole"`
// The mount point of the SSH engine configured with the desired CA
SshMountPoint string `json:"sshMountPoint"`
// Tags is a map of key, value pairs.
Tags Tags `json:"tags"`
}
func (*VaultTokenCertSSHStore) GetID ¶
func (m *VaultTokenCertSSHStore) GetID() string
GetID returns the unique identifier of the VaultTokenCertSSHStore.
func (*VaultTokenCertSSHStore) GetName ¶
func (m *VaultTokenCertSSHStore) GetName() string
GetName returns the name of the VaultTokenCertSSHStore.
func (*VaultTokenCertSSHStore) GetTags ¶
func (m *VaultTokenCertSSHStore) GetTags() Tags
GetTags returns the tags of the VaultTokenCertSSHStore.
func (*VaultTokenCertSSHStore) SetName ¶
func (m *VaultTokenCertSSHStore) SetName(v string)
SetName sets the name of the VaultTokenCertSSHStore.
func (*VaultTokenCertSSHStore) SetTags ¶
func (m *VaultTokenCertSSHStore) SetTags(v Tags)
SetTags sets the tags of the VaultTokenCertSSHStore.
type VaultTokenCertX509Store ¶
type VaultTokenCertX509Store struct {
// Unique identifier of the SecretStore.
ID string `json:"id"`
// The lifetime of certificates issued by this CA represented in minutes.
IssuedCertTTLMinutes int32 `json:"issuedCertTtlMinutes"`
// Unique human-readable name of the SecretStore.
Name string `json:"name"`
// The namespace to make requests within
Namespace string `json:"namespace"`
// The mount point of the PKI engine configured with the desired CA
PkiMountPoint string `json:"pkiMountPoint"`
// The URL of the Vault to target
ServerAddress string `json:"serverAddress"`
// The signing role to be used for signing certificates
SigningRole string `json:"signingRole"`
// Tags is a map of key, value pairs.
Tags Tags `json:"tags"`
}
func (*VaultTokenCertX509Store) GetID ¶
func (m *VaultTokenCertX509Store) GetID() string
GetID returns the unique identifier of the VaultTokenCertX509Store.
func (*VaultTokenCertX509Store) GetName ¶
func (m *VaultTokenCertX509Store) GetName() string
GetName returns the name of the VaultTokenCertX509Store.
func (*VaultTokenCertX509Store) GetTags ¶
func (m *VaultTokenCertX509Store) GetTags() Tags
GetTags returns the tags of the VaultTokenCertX509Store.
func (*VaultTokenCertX509Store) SetName ¶
func (m *VaultTokenCertX509Store) SetName(v string)
SetName sets the name of the VaultTokenCertX509Store.
func (*VaultTokenCertX509Store) SetTags ¶
func (m *VaultTokenCertX509Store) SetTags(v Tags)
SetTags sets the tags of the VaultTokenCertX509Store.
type VaultTokenStore ¶
type VaultTokenStore struct {
// Unique identifier of the SecretStore.
ID string `json:"id"`
// Unique human-readable name of the SecretStore.
Name string `json:"name"`
// The namespace to make requests within
Namespace string `json:"namespace"`
// The URL of the Vault to target
ServerAddress string `json:"serverAddress"`
// Tags is a map of key, value pairs.
Tags Tags `json:"tags"`
}
func (*VaultTokenStore) GetID ¶
func (m *VaultTokenStore) GetID() string
GetID returns the unique identifier of the VaultTokenStore.
func (*VaultTokenStore) GetName ¶
func (m *VaultTokenStore) GetName() string
GetName returns the name of the VaultTokenStore.
func (*VaultTokenStore) GetTags ¶
func (m *VaultTokenStore) GetTags() Tags
GetTags returns the tags of the VaultTokenStore.
func (*VaultTokenStore) SetName ¶
func (m *VaultTokenStore) SetName(v string)
SetName sets the name of the VaultTokenStore.
func (*VaultTokenStore) SetTags ¶
func (m *VaultTokenStore) SetTags(v Tags)
SetTags sets the tags of the VaultTokenStore.
type Vertica ¶
type Vertica struct {
// The bind interface is the IP address to which the port override of a resource is bound (for example, 127.0.0.1). It is automatically generated if not provided and may also be set to one of the ResourceIPAllocationMode constants to select between VNM, loopback, or default allocation.
BindInterface string `json:"bindInterface"`
// The initial database to connect to. This setting does not by itself prevent switching to another database after connecting.
Database string `json:"database"`
// A filter applied to the routing logic to pin datasource to nodes.
EgressFilter string `json:"egressFilter"`
// True if the datasource is reachable and the credentials are valid.
Healthy bool `json:"healthy"`
// The host to dial to initiate a connection from the egress node to this resource.
Hostname string `json:"hostname"`
// Unique identifier of the Resource.
ID string `json:"id"`
// Unique human-readable name of the Resource.
Name string `json:"name"`
// The password to authenticate with.
Password string `json:"password"`
// The port to dial to initiate a connection from the egress node to this resource.
Port int32 `json:"port"`
// The local port used by clients to connect to this resource. It is automatically generated if not provided on create and may be re-generated on update by specifying a value of -1.
PortOverride int32 `json:"portOverride"`
// ID of the proxy cluster for this resource, if any.
ProxyClusterID string `json:"proxyClusterId"`
// ID of the secret store containing credentials for this resource, if any.
SecretStoreID string `json:"secretStoreId"`
// DNS subdomain through which this resource may be accessed on clients. (e.g. "app-prod1" allows the resource to be accessed at "app-prod1.your-org-name.sdm-proxy-domain"). Only applicable to HTTP-based resources or resources using virtual networking mode.
Subdomain string `json:"subdomain"`
// Tags is a map of key, value pairs.
Tags Tags `json:"tags"`
// The username to authenticate with.
Username string `json:"username"`
}
func (*Vertica) GetBindInterface ¶
GetBindInterface returns the bind interface of the Vertica.
func (*Vertica) GetEgressFilter ¶
GetEgressFilter returns the egress filter of the Vertica.
func (*Vertica) GetSecretStoreID ¶
GetSecretStoreID returns the secret store id of the Vertica.
func (*Vertica) SetBindInterface ¶
SetBindInterface sets the bind interface of the Vertica.
func (*Vertica) SetEgressFilter ¶
SetEgressFilter sets the egress filter of the Vertica.
func (*Vertica) SetSecretStoreID ¶
SetSecretStoreID sets the secret store id of the Vertica.
type Workflow ¶
type Workflow struct {
// Fixed Duration of access requests bound to this workflow. If fixed duration is provided, max duration must be empty.
// If neither max nor fixed duration are provided, requests that bind to this workflow will use the organization-level settings.
AccessRequestFixedDuration time.Duration `json:"accessRequestFixedDuration"`
// Maximum Duration of access requests bound to this workflow. If max duration is provided, fixed duration must be empty.
// If neither max nor fixed duration are provided, requests that bind to this workflow will use the organization-level settings.
AccessRequestMaxDuration time.Duration `json:"accessRequestMaxDuration"`
// AccessRules is a list of access rules defining the resources this Workflow provides access to.
AccessRules AccessRules `json:"accessRules"`
// Optional approval flow ID identifies an approval flow that linked to the workflow
ApprovalFlowID string `json:"approvalFlowId"`
// Optional auto grant setting to automatically approve requests or not, defaults to false.
AutoGrant bool `json:"autoGrant"`
// Optional description of the Workflow.
Description string `json:"description"`
// Optional enabled state for workflow. This setting may be overridden by the system if
// the workflow doesn't meet the requirements to be enabled or if other conditions prevent
// enabling the workflow. The requirements to enable a workflow are that the workflow must be
// either set up for with auto grant enabled or have one or more WorkflowApprovers created for
// the workflow.
Enabled bool `json:"enabled"`
// Unique identifier of the Workflow.
ID string `json:"id"`
// Unique human-readable name of the Workflow.
Name string `json:"name"`
// Optional weight for workflow to specify it's priority in matching a request.
Weight int64 `json:"weight"`
}
Workflows are the collection of rules that define the resources to which access can be requested, the users that can request that access, and the mechanism for approving those requests which can either but automatic approval or a set of users authorized to approve the requests.
type WorkflowApprover ¶
type WorkflowApprover struct {
// The approver account id.
AccountID string `json:"accountId"`
// Unique identifier of the WorkflowApprover.
ID string `json:"id"`
// The approver role id
RoleID string `json:"roleId"`
// The workflow id.
WorkflowID string `json:"workflowId"`
}
WorkflowApprover is an account or a role with the ability to approve requests bound to a workflow. Deprecated: see docs for more info.
type WorkflowApproverGetResponse ¶
type WorkflowApproverGetResponse struct {
// Reserved for future use.
Meta *GetResponseMetadata `json:"meta"`
// Rate limit information.
RateLimit *RateLimitMetadata `json:"rateLimit"`
// The requested WorkflowApprover.
WorkflowApprover *WorkflowApprover `json:"workflowApprover"`
}
WorkflowApproverGetResponse returns a requested WorkflowApprover.
type WorkflowApproverHistory ¶
type WorkflowApproverHistory struct {
// The unique identifier of the Activity that produced this change to the WorkflowApprover.
// May be empty for some system-initiated updates.
ActivityID string `json:"activityId"`
// If this WorkflowApprover was deleted, the time it was deleted.
DeletedAt time.Time `json:"deletedAt"`
// The time at which the WorkflowApprover state was recorded.
Timestamp time.Time `json:"timestamp"`
// The complete WorkflowApprover state at this time.
WorkflowApprover *WorkflowApprover `json:"workflowApprover"`
}
WorkflowApproverHistory provides records of all changes to the state of a WorkflowApprover.
type WorkflowApproverHistoryIterator ¶
type WorkflowApproverHistoryIterator interface {
// Next advances the iterator to the next item in the list. It returns
// true if an item is available to retrieve via the `Value()` function.
Next() bool
// Value returns the current item, if one is available.
Value() *WorkflowApproverHistory
// Err returns the first error encountered during iteration, if any.
Err() error
}
WorkflowApproverHistoryIterator provides read access to a list of WorkflowApproverHistory. Use it like so:
for iterator.Next() {
workflowApproverHistory := iterator.Value()
// ...
}
type WorkflowApproverIterator ¶
type WorkflowApproverIterator interface {
// Next advances the iterator to the next item in the list. It returns
// true if an item is available to retrieve via the `Value()` function.
Next() bool
// Value returns the current item, if one is available.
Value() *WorkflowApprover
// Err returns the first error encountered during iteration, if any.
Err() error
}
WorkflowApproverIterator provides read access to a list of WorkflowApprover. Use it like so:
for iterator.Next() {
workflowApprover := iterator.Value()
// ...
}
type WorkflowApprovers ¶
type WorkflowApprovers struct {
// contains filtered or unexported fields
}
WorkflowApprovers is an account or a role with the ability to approve requests bound to a workflow.
func (*WorkflowApprovers) Create ¶
func (svc *WorkflowApprovers) Create( ctx context.Context, workflowApprover *WorkflowApprover) ( *WorkflowApproversCreateResponse, error)
Create creates a new workflow approver
func (*WorkflowApprovers) Delete ¶
func (svc *WorkflowApprovers) Delete( ctx context.Context, id string) ( *WorkflowApproversDeleteResponse, error)
Delete deletes a workflow approver
func (*WorkflowApprovers) Get ¶
func (svc *WorkflowApprovers) Get( ctx context.Context, id string) ( *WorkflowApproverGetResponse, error)
Get reads one workflow approver by ID.
func (*WorkflowApprovers) List ¶
func (svc *WorkflowApprovers) List( ctx context.Context, filter string, args ...interface{}) ( WorkflowApproverIterator, error)
Lists existing workflow approvers.
type WorkflowApproversCreateRequest ¶
type WorkflowApproversCreateRequest struct {
// Parameters to define the new WorkflowApprover.
WorkflowApprover *WorkflowApprover `json:"workflowApprover"`
}
WorkflowApproversCreateRequest specifies the workflowID and approverID of a new workflow approver to be created.
type WorkflowApproversCreateResponse ¶
type WorkflowApproversCreateResponse struct {
// Rate limit information.
RateLimit *RateLimitMetadata `json:"rateLimit"`
// The created workflow approver.
WorkflowApprover *WorkflowApprover `json:"workflowApprover"`
}
WorkflowApproversCreateResponse reports how the WorkflowApprover was created in the system.
type WorkflowApproversDeleteRequest ¶
type WorkflowApproversDeleteRequest struct {
// The unique identifier of the WorkflowApprover to delete.
ID string `json:"id"`
}
WorkflowApproversDeleteRequest specifies the ID of a WorkflowApprover to be deleted.
type WorkflowApproversDeleteResponse ¶
type WorkflowApproversDeleteResponse struct {
// Rate limit information.
RateLimit *RateLimitMetadata `json:"rateLimit"`
}
WorkflowApproversDeleteResponse reports how the WorkflowApprover was deleted in the system.
type WorkflowApproversHistory ¶
type WorkflowApproversHistory struct {
// contains filtered or unexported fields
}
WorkflowApproversHistory provides records of all changes to the state of a WorkflowApprover.
func (*WorkflowApproversHistory) List ¶
func (svc *WorkflowApproversHistory) List( ctx context.Context, filter string, args ...interface{}) ( WorkflowApproverHistoryIterator, error)
List gets a list of WorkflowApproversHistory records matching a given set of criteria.
type WorkflowApproversListRequest ¶
type WorkflowApproversListRequest struct {
// A human-readable filter query string.
Filter string `json:"filter"`
}
WorkflowApproversListRequest specifies criteria for retrieving a list of WorkflowApprover records
type WorkflowApproversListResponse ¶
type WorkflowApproversListResponse struct {
// Rate limit information.
RateLimit *RateLimitMetadata `json:"rateLimit"`
}
WorkflowApproversListResponse returns a list of WorkflowApprover records that meet the criteria of a WorkflowApproversListRequest.
type WorkflowCreateResponse ¶
type WorkflowCreateResponse struct {
// Rate limit information.
RateLimit *RateLimitMetadata `json:"rateLimit"`
// The created workflow.
Workflow *Workflow `json:"workflow"`
}
WorkflowCreateResponse reports how the Workflow was created in the system.
type WorkflowDeleteResponse ¶
type WorkflowDeleteResponse struct {
// The deleted workflow id.
ID string `json:"id"`
// Rate limit information.
RateLimit *RateLimitMetadata `json:"rateLimit"`
}
WorkflowDeleteResponse returns information about a Workflow that was deleted.
type WorkflowGetResponse ¶
type WorkflowGetResponse struct {
// Reserved for future use.
Meta *GetResponseMetadata `json:"meta"`
// Rate limit information.
RateLimit *RateLimitMetadata `json:"rateLimit"`
// The requested Workflow.
Workflow *Workflow `json:"workflow"`
}
WorkflowGetResponse returns a requested Workflow.
type WorkflowHistory ¶
type WorkflowHistory struct {
// The unique identifier of the Activity that produced this change to the Workflow.
// May be empty for some system-initiated updates.
ActivityID string `json:"activityId"`
// If this Workflow was deleted, the time it was deleted.
DeletedAt time.Time `json:"deletedAt"`
// The time at which the Workflow state was recorded.
Timestamp time.Time `json:"timestamp"`
// The complete Workflow state at this time.
Workflow *Workflow `json:"workflow"`
}
WorkflowsHistory provides records of all changes to the state of a Workflow.
type WorkflowHistoryIterator ¶
type WorkflowHistoryIterator interface {
// Next advances the iterator to the next item in the list. It returns
// true if an item is available to retrieve via the `Value()` function.
Next() bool
// Value returns the current item, if one is available.
Value() *WorkflowHistory
// Err returns the first error encountered during iteration, if any.
Err() error
}
WorkflowHistoryIterator provides read access to a list of WorkflowHistory. Use it like so:
for iterator.Next() {
workflowHistory := iterator.Value()
// ...
}
type WorkflowIterator ¶
type WorkflowIterator interface {
// Next advances the iterator to the next item in the list. It returns
// true if an item is available to retrieve via the `Value()` function.
Next() bool
// Value returns the current item, if one is available.
Value() *Workflow
// Err returns the first error encountered during iteration, if any.
Err() error
}
WorkflowIterator provides read access to a list of Workflow. Use it like so:
for iterator.Next() {
workflow := iterator.Value()
// ...
}
type WorkflowListResponse ¶
type WorkflowListResponse struct {
// Rate limit information.
RateLimit *RateLimitMetadata `json:"rateLimit"`
}
WorkflowListResponse returns a list of Workflow records that meet the criteria of a WorkflowListRequest.
type WorkflowRole ¶
type WorkflowRole struct {
// Unique identifier of the WorkflowRole.
ID string `json:"id"`
// The role id.
RoleID string `json:"roleId"`
// The workflow id.
WorkflowID string `json:"workflowId"`
}
WorkflowRole links a role to a workflow. The linked roles indicate which roles a user must be a part of to request access to a resource via the workflow.
type WorkflowRoleGetResponse ¶
type WorkflowRoleGetResponse struct {
// Reserved for future use.
Meta *GetResponseMetadata `json:"meta"`
// Rate limit information.
RateLimit *RateLimitMetadata `json:"rateLimit"`
// The requested WorkflowRole.
WorkflowRole *WorkflowRole `json:"workflowRole"`
}
WorkflowRoleGetResponse returns a requested WorkflowRole.
type WorkflowRoleHistory ¶
type WorkflowRoleHistory struct {
// The unique identifier of the Activity that produced this change to the WorkflowRole.
// May be empty for some system-initiated updates.
ActivityID string `json:"activityId"`
// If this WorkflowRole was deleted, the time it was deleted.
DeletedAt time.Time `json:"deletedAt"`
// The time at which the WorkflowRole state was recorded.
Timestamp time.Time `json:"timestamp"`
// The complete WorkflowRole state at this time.
WorkflowRole *WorkflowRole `json:"workflowRole"`
}
WorkflowRolesHistory provides records of all changes to the state of a WorkflowRole
type WorkflowRoleHistoryIterator ¶
type WorkflowRoleHistoryIterator interface {
// Next advances the iterator to the next item in the list. It returns
// true if an item is available to retrieve via the `Value()` function.
Next() bool
// Value returns the current item, if one is available.
Value() *WorkflowRoleHistory
// Err returns the first error encountered during iteration, if any.
Err() error
}
WorkflowRoleHistoryIterator provides read access to a list of WorkflowRoleHistory. Use it like so:
for iterator.Next() {
workflowRoleHistory := iterator.Value()
// ...
}
type WorkflowRoleIterator ¶
type WorkflowRoleIterator interface {
// Next advances the iterator to the next item in the list. It returns
// true if an item is available to retrieve via the `Value()` function.
Next() bool
// Value returns the current item, if one is available.
Value() *WorkflowRole
// Err returns the first error encountered during iteration, if any.
Err() error
}
WorkflowRoleIterator provides read access to a list of WorkflowRole. Use it like so:
for iterator.Next() {
workflowRole := iterator.Value()
// ...
}
type WorkflowRoles ¶
type WorkflowRoles struct {
// contains filtered or unexported fields
}
WorkflowRole links a role to a workflow. The linked roles indicate which roles a user must be a part of to request access to a resource via the workflow.
func (*WorkflowRoles) Create ¶
func (svc *WorkflowRoles) Create( ctx context.Context, workflowRole *WorkflowRole) ( *WorkflowRolesCreateResponse, error)
Create creates a new workflow role
func (*WorkflowRoles) Delete ¶
func (svc *WorkflowRoles) Delete( ctx context.Context, id string) ( *WorkflowRolesDeleteResponse, error)
Delete deletes a workflow role
func (*WorkflowRoles) Get ¶
func (svc *WorkflowRoles) Get( ctx context.Context, id string) ( *WorkflowRoleGetResponse, error)
Get reads one workflow role by ID.
func (*WorkflowRoles) List ¶
func (svc *WorkflowRoles) List( ctx context.Context, filter string, args ...interface{}) ( WorkflowRoleIterator, error)
Lists existing workflow roles.
type WorkflowRolesCreateRequest ¶
type WorkflowRolesCreateRequest struct {
// Parameters to define the new WorkflowRole.
WorkflowRole *WorkflowRole `json:"workflowRole"`
}
WorkflowRolesCreateRequest specifies the workflowID and roleID of a new workflow role to be created.
type WorkflowRolesCreateResponse ¶
type WorkflowRolesCreateResponse struct {
// Rate limit information.
RateLimit *RateLimitMetadata `json:"rateLimit"`
// The created workflow role.
WorkflowRole *WorkflowRole `json:"workflowRole"`
}
WorkflowRolesCreateResponse reports how the WorkflowRole was created in the system.
type WorkflowRolesDeleteRequest ¶
type WorkflowRolesDeleteRequest struct {
// The unique identifier of the WorkflowRole to delete.
ID string `json:"id"`
}
WorkflowRolesDeleteRequest specifies the ID of a WorkflowRole to be deleted.
type WorkflowRolesDeleteResponse ¶
type WorkflowRolesDeleteResponse struct {
// Rate limit information.
RateLimit *RateLimitMetadata `json:"rateLimit"`
}
WorkflowRolesDeleteResponse reports how the WorkflowRole was deleted in the system.
type WorkflowRolesHistory ¶
type WorkflowRolesHistory struct {
// contains filtered or unexported fields
}
WorkflowRolesHistory provides records of all changes to the state of a WorkflowRole
func (*WorkflowRolesHistory) List ¶
func (svc *WorkflowRolesHistory) List( ctx context.Context, filter string, args ...interface{}) ( WorkflowRoleHistoryIterator, error)
List gets a list of WorkflowRolesHistory records matching a given set of criteria.
type WorkflowRolesListRequest ¶
type WorkflowRolesListRequest struct {
// A human-readable filter query string.
Filter string `json:"filter"`
}
WorkflowRolesListRequest specifies criteria for retrieving a list of WorkflowRole records
type WorkflowRolesListResponse ¶
type WorkflowRolesListResponse struct {
// Rate limit information.
RateLimit *RateLimitMetadata `json:"rateLimit"`
}
WorkflowRolesListResponse returns a list of WorkflowRole records that meet the criteria of a WorkflowRolesListRequest.
type WorkflowUpdateResponse ¶
type WorkflowUpdateResponse struct {
// Rate limit information.
RateLimit *RateLimitMetadata `json:"rateLimit"`
// The updated workflow.
Workflow *Workflow `json:"workflow"`
}
WorkflowUpdateResponse returns the fields of a Workflow after it has been updated by a WorkflowUpdateRequest.
type Workflows ¶
type Workflows struct {
// contains filtered or unexported fields
}
Workflows are the collection of rules that define the resources to which access can be requested, the users that can request that access, and the mechanism for approving those requests which can either be automatic approval or a set of users authorized to approve the requests.
func (*Workflows) Create ¶
func (svc *Workflows) Create( ctx context.Context, workflow *Workflow) ( *WorkflowCreateResponse, error)
Create creates a new workflow and requires a name for the workflow.
type WorkflowsHistory ¶
type WorkflowsHistory struct {
// contains filtered or unexported fields
}
WorkflowsHistory provides records of all changes to the state of a Workflow.
func (*WorkflowsHistory) List ¶
func (svc *WorkflowsHistory) List( ctx context.Context, filter string, args ...interface{}) ( WorkflowHistoryIterator, error)
List gets a list of WorkflowHistory records matching a given set of criteria.