Documentation
¶
Index ¶
- Constants
- type AccessTokenResponse
- type AddMemberResponse
- type AddToGroupsRequest
- type AddToGroupsResponse
- type ApplyResponse
- type Audit
- type AuthProperties
- type Authentication
- type AuthenticationCreateModel
- func (m *AuthenticationCreateModel) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *AuthenticationCreateModel) MarshalBinary() ([]byte, error)
- func (m *AuthenticationCreateModel) UnmarshalBinary(b []byte) error
- func (m *AuthenticationCreateModel) Validate(formats strfmt.Registry) error
- type AuthenticationSettings
- func (m *AuthenticationSettings) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *AuthenticationSettings) MarshalBinary() ([]byte, error)
- func (m *AuthenticationSettings) UnmarshalBinary(b []byte) error
- func (m *AuthenticationSettings) Validate(formats strfmt.Registry) error
- type AuthenticationSettingsVersionResponse
- func (m *AuthenticationSettingsVersionResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *AuthenticationSettingsVersionResponse) MarshalBinary() ([]byte, error)
- func (m *AuthenticationSettingsVersionResponse) UnmarshalBinary(b []byte) error
- func (m *AuthenticationSettingsVersionResponse) Validate(formats strfmt.Registry) error
- type AutoKey
- type AutoKeyResponse
- type ClientCreate
- type ClientCredentials
- type Condition
- type Conditions
- type CreateGroup
- type CreateResponse
- type DecryptionResponse
- type DefaultPolicy
- type Details
- type Document
- type DocumentVersion
- type EncryptionResponse
- type Engine
- type EngineCreate
- type EngineListResult
- type EngineSearchResponse
- type GenerateResponse
- type Group
- type GroupMemberInfo
- type GroupResponse
- type HTTPError
- type History
- type InitiateCertAuthResponse
- func (m *InitiateCertAuthResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *InitiateCertAuthResponse) MarshalBinary() ([]byte, error)
- func (m *InitiateCertAuthResponse) UnmarshalBinary(b []byte) error
- func (m *InitiateCertAuthResponse) Validate(formats strfmt.Registry) error
- type Key
- type ManualKeyData
- type MemberRequest
- type MemberResponse
- type MessageResponse
- type PageInfo
- type PasswordChange
- type PingResponse
- type Policy
- type PolicyCreate
- type PolicySearchResponse
- type PolicyUpdate
- type PolicyVersionResponse
- type Pool
- type PoolCreate
- type PoolListResult
- type PostConfigModel
- type ProviderProperties
- type RequestModelCreate
- type RequestModelUpdate
- type ResponseAuditSearch
- type ResponseCertificate
- type ResponseModelDescription
- func (m *ResponseModelDescription) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ResponseModelDescription) MarshalBinary() ([]byte, error)
- func (m *ResponseModelDescription) UnmarshalBinary(b []byte) error
- func (m *ResponseModelDescription) Validate(formats strfmt.Registry) error
- type ResponseModelFull
- type ResponseModelSearch
- type ResponseRootCertificate
- func (m *ResponseRootCertificate) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ResponseRootCertificate) MarshalBinary() ([]byte, error)
- func (m *ResponseRootCertificate) UnmarshalBinary(b []byte) error
- func (m *ResponseRootCertificate) Validate(formats strfmt.Registry) error
- type ResponseSSHCertificate
- func (m *ResponseSSHCertificate) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *ResponseSSHCertificate) MarshalBinary() ([]byte, error)
- func (m *ResponseSSHCertificate) UnmarshalBinary(b []byte) error
- func (m *ResponseSSHCertificate) Validate(formats strfmt.Registry) error
- type Role
- type RoleCreate
- type RoleDetails
- type RoleVersionResponse
- type Roles
- type RootCARegistration
- type RootCASecret
- type SSHCertInformation
- type SearchResponse
- type SecretListPathsResponse
- func (m *SecretListPathsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *SecretListPathsResponse) MarshalBinary() ([]byte, error)
- func (m *SecretListPathsResponse) UnmarshalBinary(b []byte) error
- func (m *SecretListPathsResponse) Validate(formats strfmt.Registry) error
- type SecretVersionResponse
- type Settings
- type SiemCreateUpdateRequestModel
- func (m *SiemCreateUpdateRequestModel) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *SiemCreateUpdateRequestModel) MarshalBinary() ([]byte, error)
- func (m *SiemCreateUpdateRequestModel) UnmarshalBinary(b []byte) error
- func (m *SiemCreateUpdateRequestModel) Validate(formats strfmt.Registry) error
- type SiemNoSensitiveResponseModel
- func (m *SiemNoSensitiveResponseModel) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *SiemNoSensitiveResponseModel) MarshalBinary() ([]byte, error)
- func (m *SiemNoSensitiveResponseModel) UnmarshalBinary(b []byte) error
- func (m *SiemNoSensitiveResponseModel) Validate(formats strfmt.Registry) error
- type SiemResponseModel
- type SignedLeafCertificate
- type SigningRequest
- type SigningRequestInformation
- func (m *SigningRequestInformation) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *SigningRequestInformation) MarshalBinary() ([]byte, error)
- func (m *SigningRequestInformation) UnmarshalBinary(b []byte) error
- func (m *SigningRequestInformation) Validate(formats strfmt.Registry) error
- type StatusResponse
- type TaskResult
- type TaskState
- type UpdateKeyRequest
- type UsageResponseGeneral
- type User
- type UserCreateModel
- type UserUpdateModel
- type UserVersionResponse
Constants ¶
const ( // PolicyCreateSerializationJSON captures enum value "json" PolicyCreateSerializationJSON string = "json" // PolicyCreateSerializationYaml captures enum value "yaml" PolicyCreateSerializationYaml string = "yaml" // PolicyCreateSerializationYml captures enum value "yml" PolicyCreateSerializationYml string = "yml" )
const ( // PolicyUpdateSerializationJSON captures enum value "json" PolicyUpdateSerializationJSON string = "json" // PolicyUpdateSerializationYaml captures enum value "yaml" PolicyUpdateSerializationYaml string = "yaml" // PolicyUpdateSerializationYml captures enum value "yml" PolicyUpdateSerializationYml string = "yml" )
const ( // PostConfigModelSerializationJSON captures enum value "json" PostConfigModelSerializationJSON string = "json" // PostConfigModelSerializationYaml captures enum value "yaml" PostConfigModelSerializationYaml string = "yaml" // PostConfigModelSerializationYml captures enum value "yml" PostConfigModelSerializationYml string = "yml" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccessTokenResponse ¶
type AccessTokenResponse struct { // Seconds until access token expires ExpiresIn int64 `json:"expiresIn,omitempty"` // Refresh token that can be used to get a new access token RefreshToken string `json:"refreshToken,omitempty"` // JWT access token for authorized requests Token string `json:"accessToken,omitempty"` // Token type TokenType string `json:"tokenType,omitempty"` }
AccessTokenResponse AccessTokenResponse contains the bearer access token for accessing authorized endpoints
swagger:model AccessTokenResponse
func (*AccessTokenResponse) ContextValidate ¶
ContextValidate validates this access token response based on context it is used
func (*AccessTokenResponse) MarshalBinary ¶
func (m *AccessTokenResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AccessTokenResponse) UnmarshalBinary ¶
func (m *AccessTokenResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AddMemberResponse ¶
type AddMemberResponse struct { // errors Errors map[string]string `json:"errors,omitempty"` // names Names []string `json:"addedMemberNames"` }
AddMemberResponse AddMemberResponse for Add members response
swagger:model AddMemberResponse
func (*AddMemberResponse) ContextValidate ¶
ContextValidate validates this add member response based on context it is used
func (*AddMemberResponse) MarshalBinary ¶
func (m *AddMemberResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AddMemberResponse) UnmarshalBinary ¶
func (m *AddMemberResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AddToGroupsRequest ¶
type AddToGroupsRequest struct { // List of group names Names []string `json:"groupNames"` }
AddToGroupsRequest AddToGroupsRequest to add user to a list of groups
swagger:model AddToGroupsRequest
func (*AddToGroupsRequest) ContextValidate ¶
ContextValidate validates this add to groups request based on context it is used
func (*AddToGroupsRequest) MarshalBinary ¶
func (m *AddToGroupsRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AddToGroupsRequest) UnmarshalBinary ¶
func (m *AddToGroupsRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AddToGroupsResponse ¶
AddToGroupsResponse AddToGroupsResponse to add user to a list of groups
swagger:model AddToGroupsResponse
func (*AddToGroupsResponse) ContextValidate ¶
ContextValidate validates this add to groups response based on context it is used
func (*AddToGroupsResponse) MarshalBinary ¶
func (m *AddToGroupsResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AddToGroupsResponse) UnmarshalBinary ¶
func (m *AddToGroupsResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ApplyResponse ¶
type ApplyResponse struct { // status Status string `json:"status,omitempty"` }
ApplyResponse apply response
swagger:model ApplyResponse
func (*ApplyResponse) ContextValidate ¶
ContextValidate validates this apply response based on context it is used
func (*ApplyResponse) MarshalBinary ¶
func (m *ApplyResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ApplyResponse) UnmarshalBinary ¶
func (m *ApplyResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Audit ¶
type Audit struct { // Action performed Action string `json:"action,omitempty"` // Audit created date // Format: date-time Created strfmt.DateTime `json:"created,omitempty"` // Audit id ID string `json:"id,omitempty"` // IP Address logged from client IPAddress string `json:"ipaddress,omitempty"` // Message additional details Message string `json:"message,omitempty"` // Resource path action performed on Path string `json:"path,omitempty"` // Security principal that performed action Principal string `json:"principal,omitempty"` // Principal item ID PrincipalItemID string `json:"principalItemId,omitempty"` // Http status code Status int64 `json:"status,omitempty"` // Tenant ID Tenant string `json:"tenant,omitempty"` // Tenant Name TenantName string `json:"tenantName,omitempty"` }
Audit Audit model
swagger:model Audit
func (*Audit) ContextValidate ¶
ContextValidate validates this audit based on context it is used
func (*Audit) MarshalBinary ¶
MarshalBinary interface implementation
func (*Audit) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type AuthProperties ¶
type AuthProperties struct { // account ID AccountID string `json:"accountId,omitempty"` // base URI BaseURI string `json:"baseUri,omitempty"` // client email ClientEmail string `json:"clientEmail,omitempty"` // client ID ClientID string `json:"clientId,omitempty"` // client secret ClientSecret string `json:"clientSecret,omitempty"` // default Default bool `json:"default,omitempty"` // private key PrivateKey string `json:"privateKey,omitempty"` // private key ID PrivateKeyID string `json:"privateKeyId,omitempty"` // project ID ProjectID string `json:"projectId,omitempty"` // send welcome email SendWelcomeEmail bool `json:"sendWelcomeEmail,omitempty"` // tenant ID TenantID string `json:"tenantId,omitempty"` // token URI TokenURI string `json:"tokenUri,omitempty"` // type Type string `json:"type,omitempty"` // username claim UsernameClaim string `json:"usernameClaim,omitempty"` }
AuthProperties auth properties
swagger:model AuthProperties
func (*AuthProperties) ContextValidate ¶
ContextValidate validates this auth properties based on context it is used
func (*AuthProperties) MarshalBinary ¶
func (m *AuthProperties) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AuthProperties) UnmarshalBinary ¶
func (m *AuthProperties) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Authentication ¶
type Authentication struct { // ID ID string `json:"ID,omitempty"` // name Name string `json:"name,omitempty"` // type Type string `json:"type,omitempty"` // properties Properties *AuthProperties `json:"properties,omitempty"` }
Authentication Authentication is the 3rd party authentication providers
swagger:model Authentication
func (*Authentication) ContextValidate ¶
ContextValidate validate this authentication based on the context it is used
func (*Authentication) MarshalBinary ¶
func (m *Authentication) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Authentication) UnmarshalBinary ¶
func (m *Authentication) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AuthenticationCreateModel ¶
type AuthenticationCreateModel struct { // AuthenticationSettings provider system type. AuthType string `json:"type,omitempty"` // Name of authentication provider. // Required: true // Max Length: 50 // Min Length: 3 Name *string `json:"name"` // properties Properties *ProviderProperties `json:"properties,omitempty"` }
AuthenticationCreateModel AuthenticationCreateModel defines the post parameters.
swagger:model AuthenticationCreateModel
func (*AuthenticationCreateModel) ContextValidate ¶
func (m *AuthenticationCreateModel) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this authentication create model based on the context it is used
func (*AuthenticationCreateModel) MarshalBinary ¶
func (m *AuthenticationCreateModel) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AuthenticationCreateModel) UnmarshalBinary ¶
func (m *AuthenticationCreateModel) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AuthenticationSettings ¶
type AuthenticationSettings struct { // AuthenticationSettings provider system type. AuthType string `json:"type,omitempty"` // created Created string `json:"created,omitempty"` // created by CreatedBy string `json:"createdBy,omitempty"` // ID ID string `json:"id,omitempty"` // last modified LastModified string `json:"lastModified,omitempty"` // last modified by LastModifiedBy string `json:"lastModifiedBy,omitempty"` // name Name string `json:"name,omitempty"` // version Version string `json:"version,omitempty"` // properties Properties *ProviderProperties `json:"properties,omitempty"` }
AuthenticationSettings AuthenticationSettings is the 3rd party authentication providers.
swagger:model AuthenticationSettings
func (*AuthenticationSettings) ContextValidate ¶
func (m *AuthenticationSettings) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this authentication settings based on the context it is used
func (*AuthenticationSettings) MarshalBinary ¶
func (m *AuthenticationSettings) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AuthenticationSettings) UnmarshalBinary ¶
func (m *AuthenticationSettings) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AuthenticationSettingsVersionResponse ¶
type AuthenticationSettingsVersionResponse struct { // AuthenticationSettingsVersionResponse that match the version. Data []*AuthenticationSettings `json:"data"` }
AuthenticationSettingsVersionResponse Version results response.
swagger:model AuthenticationSettingsVersionResponse
func (*AuthenticationSettingsVersionResponse) ContextValidate ¶
func (m *AuthenticationSettingsVersionResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this authentication settings version response based on the context it is used
func (*AuthenticationSettingsVersionResponse) MarshalBinary ¶
func (m *AuthenticationSettingsVersionResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AuthenticationSettingsVersionResponse) UnmarshalBinary ¶
func (m *AuthenticationSettingsVersionResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AutoKey ¶
type AutoKey struct { // Created date Created string `json:"created,omitempty"` // Who created the item CreatedBy string `json:"createdBy,omitempty"` // the id for this item ID string `json:"id,omitempty"` // Last updated date LastModified string `json:"lastModified,omitempty"` // Who performed the last modification LastModifiedBy string `json:"lastModifiedBy,omitempty"` // Current version Version string `json:"version,omitempty"` }
AutoKey auto key
swagger:model AutoKey
func (*AutoKey) ContextValidate ¶
ContextValidate validates this auto key based on context it is used
func (*AutoKey) MarshalBinary ¶
MarshalBinary interface implementation
func (*AutoKey) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type AutoKeyResponse ¶
type AutoKeyResponse struct { // Created date Created string `json:"created,omitempty"` // Who created the item CreatedBy string `json:"createdBy,omitempty"` // the id for this item ID string `json:"id,omitempty"` // Last updated date LastModified string `json:"lastModified,omitempty"` // Who performed the last modification LastModifiedBy string `json:"lastModifiedBy,omitempty"` // A path to a data-key managed by DSV Path string `json:"path,omitempty"` // Current version Version string `json:"version,omitempty"` }
AutoKeyResponse AutoKeyResponse contains the metadata of a data key
swagger:model AutoKeyResponse
func (*AutoKeyResponse) ContextValidate ¶
ContextValidate validates this auto key response based on context it is used
func (*AutoKeyResponse) MarshalBinary ¶
func (m *AutoKeyResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AutoKeyResponse) UnmarshalBinary ¶
func (m *AutoKeyResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ClientCreate ¶
type ClientCreate struct { // Client description Description string `json:"description,omitempty"` // Name of role to assign to client // Required: true Role *string `json:"role"` // TTL expiration in seconds TTL int64 `json:"ttl,omitempty"` // Url URL bool `json:"url,omitempty"` // Url TTL URLTTL int64 `json:"urlTTL,omitempty"` // Uses the number of times the client credential can be read. if set to 0, it can be used infinitely. default is 0. UsesLimit int64 `json:"usesLimit,omitempty"` }
ClientCreate client create
swagger:model ClientCreate
func (*ClientCreate) ContextValidate ¶
ContextValidate validates this client create based on context it is used
func (*ClientCreate) MarshalBinary ¶
func (m *ClientCreate) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ClientCreate) UnmarshalBinary ¶
func (m *ClientCreate) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ClientCredentials ¶
type ClientCredentials struct { // Url already used or not Accessed string `json:"accessed,omitempty"` // Unique uuid of client credentials ClientID string `json:"clientId,omitempty"` // Secret key returned on create ClientSecret string `json:"clientSecret,omitempty"` // Created date Created string `json:"created,omitempty"` // Who created CreatedBy string `json:"createdBy,omitempty"` // description Description string `json:"description,omitempty"` // ExpiredAt expiration time ExpiredAt string `json:"expiredAt,omitempty"` // the id for this item ID string `json:"id,omitempty"` // Assigned role for determining access Role string `json:"role,omitempty"` // status Status string `json:"status,omitempty"` // TTL expiration in seconds TTL int64 `json:"TTL,omitempty"` // If Url requested URL bool `json:"url,omitempty"` // Url expiration time URLExpires string `json:"urlExpires,omitempty"` // URL Path URLPath string `json:"urlPath,omitempty"` // Url expiration in seconds URLTTL int64 `json:"urlTTL,omitempty"` // used count UsedCount int64 `json:"usedCount,omitempty"` // Uses the number of times the client credential can be read. if set to 0, it can be used infinitely. default is 0. UsesLimit int64 `json:"usesLimit,omitempty"` }
ClientCredentials ClientCredentials are used in the client_credentials authentication flow
swagger:model ClientCredentials
func (*ClientCredentials) ContextValidate ¶
ContextValidate validates this client credentials based on context it is used
func (*ClientCredentials) MarshalBinary ¶
func (m *ClientCredentials) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ClientCredentials) UnmarshalBinary ¶
func (m *ClientCredentials) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Condition ¶
type Condition struct { // GetName returns the condition's name. GetName string `json:"GetName,omitempty"` }
Condition Condition either do or do not fulfill an access request.
swagger:model Condition
func (*Condition) ContextValidate ¶
ContextValidate validates this condition based on context it is used
func (*Condition) MarshalBinary ¶
MarshalBinary interface implementation
func (*Condition) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Conditions ¶
Conditions Conditions is a collection of conditions.
swagger:model Conditions
func (Conditions) ContextValidate ¶
ContextValidate validate this conditions based on the context it is used
type CreateGroup ¶
type CreateGroup struct { // Members Members []string `json:"members"` // MetaData MetaData []map[string]string `json:"metaData"` // Group name // Required: true Name *string `json:"groupName"` }
CreateGroup create group
swagger:model CreateGroup
func (*CreateGroup) ContextValidate ¶
ContextValidate validates this create group based on context it is used
func (*CreateGroup) MarshalBinary ¶
func (m *CreateGroup) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateGroup) UnmarshalBinary ¶
func (m *CreateGroup) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreateResponse ¶
type CreateResponse struct { // Created date Created string `json:"created,omitempty"` // Who created the item CreatedBy string `json:"createdBy,omitempty"` // endpoint Endpoint string `json:"endpoint,omitempty"` // the id for this item ID string `json:"id,omitempty"` // last heartbeat LastHeartbeat string `json:"lastHeartbeat,omitempty"` // Last updated date LastModified string `json:"lastModified,omitempty"` // Who performed the last modification LastModifiedBy string `json:"lastModifiedBy,omitempty"` // name Name string `json:"name,omitempty"` // pool name PoolName string `json:"poolName,omitempty"` // private key PrivateKey string `json:"privateKey,omitempty"` // public key PublicKey string `json:"publicKey,omitempty"` // Current version Version string `json:"version,omitempty"` }
CreateResponse Initialized engine and corresponding public / private key pair for signing engine tokens
swagger:model CreateResponse
func (*CreateResponse) ContextValidate ¶
ContextValidate validates this create response based on context it is used
func (*CreateResponse) MarshalBinary ¶
func (m *CreateResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreateResponse) UnmarshalBinary ¶
func (m *CreateResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DecryptionResponse ¶
type DecryptionResponse struct { // data Data string `json:"data,omitempty"` // Path of the key with which decryption was performed Path string `json:"path,omitempty"` // Version of the key with which decryption was performed Version string `json:"version,omitempty"` }
DecryptionResponse DecryptionResponse contains data decrypted from ciphertext
swagger:model DecryptionResponse
func (*DecryptionResponse) ContextValidate ¶
ContextValidate validates this decryption response based on context it is used
func (*DecryptionResponse) MarshalBinary ¶
func (m *DecryptionResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DecryptionResponse) UnmarshalBinary ¶
func (m *DecryptionResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DefaultPolicy ¶
type DefaultPolicy struct { // actions Actions []string `json:"actions"` // description Description string `json:"description,omitempty"` // effect Effect string `json:"effect,omitempty"` // ID ID string `json:"id,omitempty"` // meta Meta []uint8 `json:"meta"` // resources Resources []string `json:"resources"` // subjects Subjects []string `json:"subjects"` // conditions Conditions Conditions `json:"conditions,omitempty"` }
DefaultPolicy DefaultPolicy is the default implementation of the policy interface.
swagger:model DefaultPolicy
func (*DefaultPolicy) ContextValidate ¶
ContextValidate validate this default policy based on the context it is used
func (*DefaultPolicy) MarshalBinary ¶
func (m *DefaultPolicy) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DefaultPolicy) UnmarshalBinary ¶
func (m *DefaultPolicy) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Details ¶
type Details struct { // AuthenticationSettings provider system type. AuthType string `json:"type,omitempty"` // properties Properties *ProviderProperties `json:"properties,omitempty"` }
Details Details defines the editable properties of a Role.
swagger:model Details
func (*Details) ContextValidate ¶
ContextValidate validate this details based on the context it is used
func (*Details) MarshalBinary ¶
MarshalBinary interface implementation
func (*Details) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type Document ¶
type Document struct { // created Created string `json:"created,omitempty"` // created by CreatedBy string `json:"createdBy,omitempty"` // last modified LastModified string `json:"lastModified,omitempty"` // last modified by LastModifiedBy string `json:"lastModifiedBy,omitempty"` // permission document PermissionDocument []*DefaultPolicy `json:"permissionDocument"` // refresh token TTL hours RefreshTokenTTLHours int64 `json:"refreshTokenTTLHours,omitempty"` // tenant name TenantName string `json:"tenantName,omitempty"` // version Version string `json:"version,omitempty"` // settings Settings *Settings `json:"settings,omitempty"` }
Document Document is the per-tenant configuration store
swagger:model Document
func (*Document) ContextValidate ¶
ContextValidate validate this document based on the context it is used
func (*Document) MarshalBinary ¶
MarshalBinary interface implementation
func (*Document) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type DocumentVersion ¶
type DocumentVersion struct { // data Data []*Document `json:"data"` }
DocumentVersion document version
swagger:model DocumentVersion
func (*DocumentVersion) ContextValidate ¶
ContextValidate validate this document version based on the context it is used
func (*DocumentVersion) MarshalBinary ¶
func (m *DocumentVersion) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DocumentVersion) UnmarshalBinary ¶
func (m *DocumentVersion) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type EncryptionResponse ¶
type EncryptionResponse struct { // ciphertext Ciphertext []uint8 `json:"ciphertext"` // Path of the key with which encryption was performed Path string `json:"path,omitempty"` // Version of the key with which encryption was performed Version string `json:"version,omitempty"` }
EncryptionResponse EncryptionResponse contains ciphertext produced from encrypting a plaintext string with a key
swagger:model EncryptionResponse
func (*EncryptionResponse) ContextValidate ¶
ContextValidate validates this encryption response based on context it is used
func (*EncryptionResponse) MarshalBinary ¶
func (m *EncryptionResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*EncryptionResponse) UnmarshalBinary ¶
func (m *EncryptionResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Engine ¶
type Engine struct { // Created date Created string `json:"created,omitempty"` // Who created the item CreatedBy string `json:"createdBy,omitempty"` // endpoint Endpoint string `json:"endpoint,omitempty"` // the id for this item ID string `json:"id,omitempty"` // last heartbeat LastHeartbeat string `json:"lastHeartbeat,omitempty"` // Last updated date LastModified string `json:"lastModified,omitempty"` // Who performed the last modification LastModifiedBy string `json:"lastModifiedBy,omitempty"` // name Name string `json:"name,omitempty"` // pool name PoolName string `json:"poolName,omitempty"` // public key PublicKey string `json:"publicKey,omitempty"` // Current version Version string `json:"version,omitempty"` }
Engine Engine is the stored record
swagger:model Engine
func (*Engine) ContextValidate ¶
ContextValidate validates this engine based on context it is used
func (*Engine) MarshalBinary ¶
MarshalBinary interface implementation
func (*Engine) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type EngineCreate ¶
type EngineCreate struct { // Name of engine // Required: true Name *string `json:"name"` // Name of pool to assign engine to // Required: true PoolName *string `json:"poolName"` }
EngineCreate engine create
swagger:model EngineCreate
func (*EngineCreate) ContextValidate ¶
ContextValidate validates this engine create based on context it is used
func (*EngineCreate) MarshalBinary ¶
func (m *EngineCreate) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*EngineCreate) UnmarshalBinary ¶
func (m *EngineCreate) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type EngineListResult ¶
type EngineListResult struct { // name Name string `json:"name,omitempty"` // pool name PoolName string `json:"poolName,omitempty"` }
EngineListResult engine list result
swagger:model EngineListResult
func (*EngineListResult) ContextValidate ¶
ContextValidate validates this engine list result based on context it is used
func (*EngineListResult) MarshalBinary ¶
func (m *EngineListResult) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*EngineListResult) UnmarshalBinary ¶
func (m *EngineListResult) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type EngineSearchResponse ¶
type EngineSearchResponse struct { // Cursor to next batch of results Cursor string `json:"cursor,omitempty"` // Policies that match the search term Data []*Engine `json:"data"` // The number of results in this response Length int64 `json:"length,omitempty"` // The maximum number of results per cursor Limit int64 `json:"limit,omitempty"` // Sort order Sort string `json:"sort,omitempty"` }
EngineSearchResponse Search results response
swagger:model EngineSearchResponse
func (*EngineSearchResponse) ContextValidate ¶
ContextValidate validate this engine search response based on the context it is used
func (*EngineSearchResponse) MarshalBinary ¶
func (m *EngineSearchResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*EngineSearchResponse) UnmarshalBinary ¶
func (m *EngineSearchResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GenerateResponse ¶
type GenerateResponse struct { int64 `json:"minNumberOfShares,omitempty"` // new admins NewAdmins []string `json:"newAdmins"` // status Status string `json:"status,omitempty"` TotalNumberOfShares int64 `json:"totalNumberOfShares,omitempty"` }MinNumberOfShares
GenerateResponse generate response
swagger:model GenerateResponse
func (*GenerateResponse) ContextValidate ¶
ContextValidate validates this generate response based on context it is used
func (*GenerateResponse) MarshalBinary ¶
func (m *GenerateResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GenerateResponse) UnmarshalBinary ¶
func (m *GenerateResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Group ¶
type Group struct { // the id for this item ID string `json:"id,omitempty"` // Members Members []string `json:"members"` // MetaData MetaData []map[string]string `json:"metaData"` // Name Name string `json:"groupName,omitempty"` // Total number of members Total int64 `json:"total,omitempty"` }
Group group
swagger:model Group
func (*Group) ContextValidate ¶
ContextValidate validates this group based on context it is used
func (*Group) MarshalBinary ¶
MarshalBinary interface implementation
func (*Group) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type GroupMemberInfo ¶
type GroupMemberInfo struct { // Created at Created string `json:"created,omitempty"` // Who created CreatedBy string `json:"createdBy,omitempty"` // GroupName GroupName string `json:"groupName,omitempty"` }
GroupMemberInfo group member info
swagger:model GroupMemberInfo
func (*GroupMemberInfo) ContextValidate ¶
ContextValidate validates this group member info based on context it is used
func (*GroupMemberInfo) MarshalBinary ¶
func (m *GroupMemberInfo) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GroupMemberInfo) UnmarshalBinary ¶
func (m *GroupMemberInfo) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GroupResponse ¶
type GroupResponse struct { // Created date Created string `json:"created,omitempty"` // Who created CreatedBy string `json:"createdBy,omitempty"` // the id for this item ID string `json:"id,omitempty"` // Last updated date LastModified string `json:"lastModified,omitempty"` // Who performed the last modification LastModifiedBy string `json:"lastModifiedBy,omitempty"` // Members Members []string `json:"members"` // MetaData MetaData []map[string]string `json:"metaData"` // Name Name string `json:"groupName,omitempty"` // Total number of members Total int64 `json:"total,omitempty"` // version Version string `json:"version,omitempty"` }
GroupResponse GroupResponse response with metadata
swagger:model GroupResponse
func (*GroupResponse) ContextValidate ¶
ContextValidate validates this group response based on context it is used
func (*GroupResponse) MarshalBinary ¶
func (m *GroupResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GroupResponse) UnmarshalBinary ¶
func (m *GroupResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HTTPError ¶
type HTTPError struct { // HTTP status code Code int64 `json:"code,omitempty"` // errors Errors map[string][]string `json:"errors,omitempty"` // Detailed error message Message string `json:"message,omitempty"` }
HTTPError HTTPError contains the status code and a detailed error message
swagger:model HTTPError
func (*HTTPError) ContextValidate ¶
ContextValidate validates this HTTP error based on context it is used
func (*HTTPError) MarshalBinary ¶
MarshalBinary interface implementation
func (*HTTPError) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type History ¶
type History interface{}
History History struct common to most responses
swagger:model History
type InitiateCertAuthResponse ¶
type InitiateCertAuthResponse struct { // Encrypted and base64 encoded challenge Encrypted string `json:"encrypted,omitempty"` // Challenge id ID string `json:"cert_challenge_id,omitempty"` }
InitiateCertAuthResponse InitiateCertAuthResponse contains challenge to decrypt and challenge id
swagger:model InitiateCertAuthResponse
func (*InitiateCertAuthResponse) ContextValidate ¶
func (m *InitiateCertAuthResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this initiate cert auth response based on context it is used
func (*InitiateCertAuthResponse) MarshalBinary ¶
func (m *InitiateCertAuthResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*InitiateCertAuthResponse) UnmarshalBinary ¶
func (m *InitiateCertAuthResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ManualKeyData ¶
type ManualKeyData struct { // metadata Metadata interface{} `json:"metadata,omitempty"` // Base64 encoded nonce to be used with key. If not provided, DSV generates it for the user. Nonce string `json:"nonce,omitempty"` // Base64 encoded private key // Required: true PrivateKey *string `json:"privateKey"` // Encryption scheme to be used. // Required: true Scheme *string `json:"scheme"` }
ManualKeyData manual key data
swagger:model ManualKeyData
func (*ManualKeyData) ContextValidate ¶
ContextValidate validates this manual key data based on context it is used
func (*ManualKeyData) MarshalBinary ¶
func (m *ManualKeyData) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ManualKeyData) UnmarshalBinary ¶
func (m *ManualKeyData) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type MemberRequest ¶
type MemberRequest struct { // Names Names []string `json:"memberNames"` }
MemberRequest MemberRequest to add users to or delete from a group
swagger:model MemberRequest
func (*MemberRequest) ContextValidate ¶
ContextValidate validates this member request based on context it is used
func (*MemberRequest) MarshalBinary ¶
func (m *MemberRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*MemberRequest) UnmarshalBinary ¶
func (m *MemberRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type MemberResponse ¶
type MemberResponse struct { // Groups information GroupMemberInfo []*GroupMemberInfo `json:"groups"` // Name Name string `json:"name,omitempty"` // Total number of items Total int64 `json:"total,omitempty"` }
MemberResponse MemberResponse for member response
swagger:model MemberResponse
func (*MemberResponse) ContextValidate ¶
ContextValidate validate this member response based on the context it is used
func (*MemberResponse) MarshalBinary ¶
func (m *MemberResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*MemberResponse) UnmarshalBinary ¶
func (m *MemberResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type MessageResponse ¶
type MessageResponse struct { // message Message string `json:"message,omitempty"` }
MessageResponse MessageResponse is a generic response that includes a message for the user
swagger:model MessageResponse
func (*MessageResponse) ContextValidate ¶
ContextValidate validates this message response based on context it is used
func (*MessageResponse) MarshalBinary ¶
func (m *MessageResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*MessageResponse) UnmarshalBinary ¶
func (m *MessageResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PageInfo ¶
type PageInfo interface{}
PageInfo Paging struct common to all search results
swagger:model PageInfo
type PasswordChange ¶
type PasswordChange struct { // The user's current password // Required: true CurrentPassword *string `json:"currentPassword"` // The new password to use // Required: true // Max Length: 100 // Min Length: 8 NewPassword *string `json:"newPassword"` }
PasswordChange PasswordChange model for submitting password change requests
swagger:model PasswordChange
func (*PasswordChange) ContextValidate ¶
ContextValidate validates this password change based on context it is used
func (*PasswordChange) MarshalBinary ¶
func (m *PasswordChange) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PasswordChange) UnmarshalBinary ¶
func (m *PasswordChange) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PingResponse ¶
type PingResponse struct { // message Message string `json:"message,omitempty"` }
PingResponse ping response
swagger:model PingResponse
func (*PingResponse) ContextValidate ¶
ContextValidate validates this ping response based on context it is used
func (*PingResponse) MarshalBinary ¶
func (m *PingResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PingResponse) UnmarshalBinary ¶
func (m *PingResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Policy ¶
type Policy struct { // Created date Created string `json:"created,omitempty"` // Who created the item CreatedBy string `json:"createdBy,omitempty"` // ID ID string `json:"id,omitempty"` // Last updated date LastModified string `json:"lastModified,omitempty"` // Who performed the last modification LastModifiedBy string `json:"lastModifiedBy,omitempty"` // path Path string `json:"path,omitempty"` // permission document PermissionDocument []*DefaultPolicy `json:"permissionDocument"` // Current version Version string `json:"version,omitempty"` }
Policy Policy is a named set of permissions
swagger:model Policy
func (*Policy) ContextValidate ¶
ContextValidate validate this policy based on the context it is used
func (*Policy) MarshalBinary ¶
MarshalBinary interface implementation
func (*Policy) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type PolicyCreate ¶
type PolicyCreate struct { // path // Required: true // Max Length: 500 // Min Length: 3 Path *string `json:"path"` // policy // Required: true // Max Length: 2000 // Min Length: 10 Policy *string `json:"policy"` // serialization // Enum: [json yaml yml] Serialization *string `json:"serialization,omitempty"` }
PolicyCreate PolicyCreate struct
swagger:model PolicyCreate
func (*PolicyCreate) ContextValidate ¶
ContextValidate validates this policy create based on context it is used
func (*PolicyCreate) MarshalBinary ¶
func (m *PolicyCreate) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PolicyCreate) UnmarshalBinary ¶
func (m *PolicyCreate) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PolicySearchResponse ¶
type PolicySearchResponse struct { // Cursor to next batch of results Cursor string `json:"cursor,omitempty"` // Policies that match the search term Data []*Policy `json:"data"` // The number of results in this response Length int64 `json:"length,omitempty"` // The maximum number of results per cursor Limit int64 `json:"limit,omitempty"` // Sort order Sort string `json:"sort,omitempty"` }
PolicySearchResponse Search results response
swagger:model PolicySearchResponse
func (*PolicySearchResponse) ContextValidate ¶
ContextValidate validate this policy search response based on the context it is used
func (*PolicySearchResponse) MarshalBinary ¶
func (m *PolicySearchResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PolicySearchResponse) UnmarshalBinary ¶
func (m *PolicySearchResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PolicyUpdate ¶
type PolicyUpdate struct { // policy // Required: true // Max Length: 2000 // Min Length: 10 Policy *string `json:"policy"` // serialization // Enum: [json yaml yml] Serialization *string `json:"serialization,omitempty"` }
PolicyUpdate PolicyUpdate struct
swagger:model PolicyUpdate
func (*PolicyUpdate) ContextValidate ¶
ContextValidate validates this policy update based on context it is used
func (*PolicyUpdate) MarshalBinary ¶
func (m *PolicyUpdate) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PolicyUpdate) UnmarshalBinary ¶
func (m *PolicyUpdate) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PolicyVersionResponse ¶
type PolicyVersionResponse struct { // Policies that match the version Data []*Policy `json:"data"` }
PolicyVersionResponse Version results response
swagger:model PolicyVersionResponse
func (*PolicyVersionResponse) ContextValidate ¶
ContextValidate validate this policy version response based on the context it is used
func (*PolicyVersionResponse) MarshalBinary ¶
func (m *PolicyVersionResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PolicyVersionResponse) UnmarshalBinary ¶
func (m *PolicyVersionResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Pool ¶
type Pool struct { // Created date Created string `json:"created,omitempty"` // Who created the item CreatedBy string `json:"createdBy,omitempty"` // the id for this item ID string `json:"id,omitempty"` // Last updated date LastModified string `json:"lastModified,omitempty"` // Who performed the last modification LastModifiedBy string `json:"lastModifiedBy,omitempty"` // name Name string `json:"name,omitempty"` // Current version Version string `json:"version,omitempty"` }
Pool Created Engine Pool
swagger:model Pool
func (*Pool) ContextValidate ¶
ContextValidate validates this pool based on context it is used
func (*Pool) MarshalBinary ¶
MarshalBinary interface implementation
func (*Pool) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type PoolCreate ¶
type PoolCreate struct { // Name of engine pool // Required: true Name *string `json:"name"` }
PoolCreate pool create
swagger:model PoolCreate
func (*PoolCreate) ContextValidate ¶
ContextValidate validates this pool create based on context it is used
func (*PoolCreate) MarshalBinary ¶
func (m *PoolCreate) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PoolCreate) UnmarshalBinary ¶
func (m *PoolCreate) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PoolListResult ¶
type PoolListResult struct { // name Name string `json:"name,omitempty"` }
PoolListResult pool list result
swagger:model PoolListResult
func (*PoolListResult) ContextValidate ¶
ContextValidate validates this pool list result based on context it is used
func (*PoolListResult) MarshalBinary ¶
func (m *PoolListResult) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PoolListResult) UnmarshalBinary ¶
func (m *PoolListResult) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PostConfigModel ¶
type PostConfigModel struct { // Encoded config string // Required: true Config *string `json:"Config"` // overwrite Overwrite bool `json:"Overwrite,omitempty"` // Json or yaml encoding type // Enum: [json yaml yml] Serialization *string `json:"Serialization,omitempty"` }
PostConfigModel post config model
swagger:model PostConfigModel
func (*PostConfigModel) ContextValidate ¶
ContextValidate validates this post config model based on context it is used
func (*PostConfigModel) MarshalBinary ¶
func (m *PostConfigModel) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PostConfigModel) UnmarshalBinary ¶
func (m *PostConfigModel) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ProviderProperties ¶
type ProviderProperties struct { // account ID AccountID string `json:"accountId,omitempty"` // base URI BaseURI string `json:"baseUri,omitempty"` // client email ClientEmail string `json:"clientEmail,omitempty"` // client ID ClientID string `json:"clientId,omitempty"` // client secret ClientSecret string `json:"clientSecret,omitempty"` // default Default bool `json:"default,omitempty"` // private key PrivateKey string `json:"privateKey,omitempty"` // private key ID PrivateKeyID string `json:"privateKeyId,omitempty"` // project ID ProjectID string `json:"projectId,omitempty"` // send welcome email SendWelcomeEmail bool `json:"sendWelcomeEmail,omitempty"` // tenant ID TenantID string `json:"tenantId,omitempty"` // token URI TokenURI string `json:"tokenUri,omitempty"` // type Type string `json:"type,omitempty"` // username claim UsernameClaim string `json:"usernameClaim,omitempty"` }
ProviderProperties AuthenticationSettings is the 3rd party authentication providers.
swagger:model ProviderProperties
func (*ProviderProperties) ContextValidate ¶
ContextValidate validates this provider properties based on context it is used
func (*ProviderProperties) MarshalBinary ¶
func (m *ProviderProperties) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ProviderProperties) UnmarshalBinary ¶
func (m *ProviderProperties) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RequestModelCreate ¶
type RequestModelCreate struct { // The user defined metadata Attributes interface{} `json:"attributes,omitempty"` // The secret data Data interface{} `json:"data,omitempty"` // The secret's description Description string `json:"description,omitempty"` }
RequestModelCreate request model create
swagger:model RequestModelCreate
func (*RequestModelCreate) ContextValidate ¶
ContextValidate validates this request model create based on context it is used
func (*RequestModelCreate) MarshalBinary ¶
func (m *RequestModelCreate) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RequestModelCreate) UnmarshalBinary ¶
func (m *RequestModelCreate) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RequestModelUpdate ¶
type RequestModelUpdate struct { // The user defined metadata Attributes interface{} `json:"attributes,omitempty"` // The secret data Data interface{} `json:"data,omitempty"` // The secret's description Description string `json:"description,omitempty"` // Overwrite data and description on update Overwrite bool `json:"overwrite,omitempty"` }
RequestModelUpdate request model update
swagger:model RequestModelUpdate
func (*RequestModelUpdate) ContextValidate ¶
ContextValidate validates this request model update based on context it is used
func (*RequestModelUpdate) MarshalBinary ¶
func (m *RequestModelUpdate) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RequestModelUpdate) UnmarshalBinary ¶
func (m *RequestModelUpdate) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ResponseAuditSearch ¶
type ResponseAuditSearch struct { // Cursor to next batch of results Cursor string `json:"cursor,omitempty"` // List of matching records Data []*Audit `json:"data"` // The number of results in this response Length int64 `json:"length,omitempty"` // The maximum number of results per cursor Limit int64 `json:"limit,omitempty"` // Number of all items that match the criteria. TotalItems int64 `json:"totalItems,omitempty"` }
ResponseAuditSearch response audit search
swagger:model ResponseAuditSearch
func (*ResponseAuditSearch) ContextValidate ¶
ContextValidate validate this response audit search based on the context it is used
func (*ResponseAuditSearch) MarshalBinary ¶
func (m *ResponseAuditSearch) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ResponseAuditSearch) UnmarshalBinary ¶
func (m *ResponseAuditSearch) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ResponseCertificate ¶
type ResponseCertificate struct { // certificate Certificate string `json:"certificate,omitempty"` // private key PrivateKey string `json:"privateKey,omitempty"` // root certificate RootCertificate string `json:"rootCertificate,omitempty"` // SSH public key SSHPublicKey string `json:"sshPublicKey,omitempty"` }
ResponseCertificate ResponseCertificate contains the signed certificate and private key.
swagger:model ResponseCertificate
func (*ResponseCertificate) ContextValidate ¶
ContextValidate validates this response certificate based on context it is used
func (*ResponseCertificate) MarshalBinary ¶
func (m *ResponseCertificate) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ResponseCertificate) UnmarshalBinary ¶
func (m *ResponseCertificate) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ResponseModelDescription ¶
type ResponseModelDescription struct { // The user defined metadata Attributes interface{} `json:"attributes,omitempty"` // Created date Created string `json:"created,omitempty"` // Who created CreatedBy string `json:"createdBy,omitempty"` // Description of secret Description string `json:"description,omitempty"` // The unique id for this item ID string `json:"id,omitempty"` // Last updated date LastModified string `json:"lastModified,omitempty"` // Who performed the last modification LastModifiedBy string `json:"lastModifiedBy,omitempty"` // The path the secret is located at Path string `json:"path,omitempty"` // version Version string `json:"version,omitempty"` }
ResponseModelDescription ResponseModelDescription contains metadata but not the sensitive secret data
swagger:model ResponseModelDescription
func (*ResponseModelDescription) ContextValidate ¶
func (m *ResponseModelDescription) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this response model description based on context it is used
func (*ResponseModelDescription) MarshalBinary ¶
func (m *ResponseModelDescription) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ResponseModelDescription) UnmarshalBinary ¶
func (m *ResponseModelDescription) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ResponseModelFull ¶
type ResponseModelFull struct { // The user defined metadata Attributes interface{} `json:"attributes,omitempty"` // Created date Created string `json:"created,omitempty"` // Who created CreatedBy string `json:"createdBy,omitempty"` // The sensitive secret info, such as a password or key Data interface{} `json:"data,omitempty"` // Description of secret Description string `json:"description,omitempty"` // The unique id for this item ID string `json:"id,omitempty"` // Last updated date LastModified string `json:"lastModified,omitempty"` // Who performed the last modification LastModifiedBy string `json:"lastModifiedBy,omitempty"` // The path the secret is located at Path string `json:"path,omitempty"` // version Version string `json:"version,omitempty"` }
ResponseModelFull ResponseModelFull contains the sensitive secret data along with secret metadata
swagger:model ResponseModelFull
func (*ResponseModelFull) ContextValidate ¶
ContextValidate validates this response model full based on context it is used
func (*ResponseModelFull) MarshalBinary ¶
func (m *ResponseModelFull) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ResponseModelFull) UnmarshalBinary ¶
func (m *ResponseModelFull) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ResponseModelSearch ¶
type ResponseModelSearch struct { // Cursor to next batch of results Cursor string `json:"cursor,omitempty"` // Groups that match the search term Data []*GroupResponse `json:"data"` // The number of results in this response Length int64 `json:"length,omitempty"` // The maximum number of results per cursor Limit int64 `json:"limit,omitempty"` // Sort order Sort string `json:"sort,omitempty"` // Total number of items Total int64 `json:"total,omitempty"` }
ResponseModelSearch Group search response with metadata
swagger:model ResponseModelSearch
func (*ResponseModelSearch) ContextValidate ¶
ContextValidate validate this response model search based on the context it is used
func (*ResponseModelSearch) MarshalBinary ¶
func (m *ResponseModelSearch) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ResponseModelSearch) UnmarshalBinary ¶
func (m *ResponseModelSearch) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ResponseRootCertificate ¶
type ResponseRootCertificate struct { // certificate Certificate string `json:"certificate,omitempty"` // private key PrivateKey string `json:"privateKey,omitempty"` // SSH public key SSHPublicKey string `json:"sshPublicKey,omitempty"` }
ResponseRootCertificate ResponseRootCertificate contains a root certificate.
swagger:model ResponseRootCertificate
func (*ResponseRootCertificate) ContextValidate ¶
func (m *ResponseRootCertificate) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this response root certificate based on context it is used
func (*ResponseRootCertificate) MarshalBinary ¶
func (m *ResponseRootCertificate) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ResponseRootCertificate) UnmarshalBinary ¶
func (m *ResponseRootCertificate) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ResponseSSHCertificate ¶
type ResponseSSHCertificate struct { // SSH certificate SSHCertificate string `json:"sshCertificate,omitempty"` }
ResponseSSHCertificate ResponseSSHCertificate contains an SSH certificate.
swagger:model ResponseSSHCertificate
func (*ResponseSSHCertificate) ContextValidate ¶
func (m *ResponseSSHCertificate) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this response SSH certificate based on context it is used
func (*ResponseSSHCertificate) MarshalBinary ¶
func (m *ResponseSSHCertificate) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ResponseSSHCertificate) UnmarshalBinary ¶
func (m *ResponseSSHCertificate) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Role ¶
type Role struct { // Created date Created string `json:"created,omitempty"` // Who created CreatedBy string `json:"createdBy,omitempty"` // Role description Description string `json:"description,omitempty"` // External identifier, such as an AWS arn for 3rd party authentication ExternalID string `json:"externalId,omitempty"` // groups Groups []string `json:"groups"` // the id for this item ID string `json:"id,omitempty"` // Last updated date LastModified string `json:"lastModified,omitempty"` // Who performed the last modification LastModifiedBy string `json:"lastModifiedBy,omitempty"` // Name of role // Required: true Name *string `json:"name"` // Provider name defined in the authentication settings section of configuration Provider string `json:"provider,omitempty"` // version Version string `json:"version,omitempty"` }
Role Role defines the role security principal and any mappings to 3rd party providers
swagger:model Role
func (*Role) ContextValidate ¶
ContextValidate validates this role based on context it is used
func (*Role) MarshalBinary ¶
MarshalBinary interface implementation
func (*Role) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type RoleCreate ¶
type RoleCreate struct { // Role description Description string `json:"description,omitempty"` // External identifier, such as an AWS arn for 3rd party authentication ExternalID string `json:"externalId,omitempty"` // Name of role // Required: true Name *string `json:"name"` // Provider name defined in the authentication settings section of configuration Provider string `json:"provider,omitempty"` }
RoleCreate role create
swagger:model RoleCreate
func (*RoleCreate) ContextValidate ¶
ContextValidate validates this role create based on context it is used
func (*RoleCreate) MarshalBinary ¶
func (m *RoleCreate) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RoleCreate) UnmarshalBinary ¶
func (m *RoleCreate) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RoleDetails ¶
type RoleDetails struct { // Role description Description string `json:"description,omitempty"` // External identifier, such as an AWS arn for 3rd party authentication ExternalID string `json:"externalId,omitempty"` // Provider name defined in the authentication settings section of configuration Provider string `json:"provider,omitempty"` }
RoleDetails RoleDetails defines the editable properties of a Role
swagger:model RoleDetails
func (*RoleDetails) ContextValidate ¶
ContextValidate validates this role details based on context it is used
func (*RoleDetails) MarshalBinary ¶
func (m *RoleDetails) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RoleDetails) UnmarshalBinary ¶
func (m *RoleDetails) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RoleVersionResponse ¶
type RoleVersionResponse struct { // data Data Roles `json:"data,omitempty"` }
RoleVersionResponse role version response
swagger:model RoleVersionResponse
func (*RoleVersionResponse) ContextValidate ¶
ContextValidate validate this role version response based on the context it is used
func (*RoleVersionResponse) MarshalBinary ¶
func (m *RoleVersionResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RoleVersionResponse) UnmarshalBinary ¶
func (m *RoleVersionResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Roles ¶
type Roles []*Role
Roles roles
swagger:model Roles
func (Roles) ContextValidate ¶
ContextValidate validate this roles based on the context it is used
type RootCARegistration ¶
type RootCARegistration struct { // URL of the CRL from which the revocation of leaf certificates can be checked CRL string `json:"crl,omitempty"` // common name // Required: true CommonName *string `json:"commonName"` // country Country string `json:"country,omitempty"` // description Description string `json:"description,omitempty"` // List of domains for which certificate signing is allowed // Required: true Domains []string `json:"domains"` // email address EmailAddress string `json:"emailAddress,omitempty"` // locality Locality string `json:"locality,omitempty"` // Maximum TTL of a signed certificate issued from a given root CA (in hours) // Required: true MaxTTL *int64 `json:"maxTTL"` // organization Organization string `json:"organization,omitempty"` // organizational unit OrganizationalUnit string `json:"organizationalUnit,omitempty"` // The name of the secret containing the root CA certificate // Required: true RootCAPath *string `json:"rootCAPath"` // state State string `json:"state,omitempty"` // The name of the secret in which to store the generated certificate and private key StorePath string `json:"storePath,omitempty"` }
RootCARegistration root c a registration
swagger:model RootCARegistration
func (*RootCARegistration) ContextValidate ¶
ContextValidate validates this root c a registration based on context it is used
func (*RootCARegistration) MarshalBinary ¶
func (m *RootCARegistration) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RootCARegistration) UnmarshalBinary ¶
func (m *RootCARegistration) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RootCASecret ¶
type RootCASecret struct { // URL of the CRL from which the revocation of leaf certificates can be checked CRL string `json:"crl,omitempty"` // Certificate of the root CA that contains information about it and public key // Required: true Certificate *string `json:"certificate"` // List of domains for which certificate signing is allowed // Required: true Domains []string `json:"domains"` // Maximum TTL of a signed certificate issued from a given root CA (in hours) // Required: true MaxTTL *int64 `json:"maxTTL"` // Private key of the root CA // Required: true PrivateKey *string `json:"privateKey"` // RootCAPath to secret, which also serves as an identifier of the root CA // Required: true RootCAPath *string `json:"rootCAPath"` }
RootCASecret root c a secret
swagger:model RootCASecret
func (*RootCASecret) ContextValidate ¶
ContextValidate validates this root c a secret based on context it is used
func (*RootCASecret) MarshalBinary ¶
func (m *RootCASecret) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RootCASecret) UnmarshalBinary ¶
func (m *RootCASecret) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SSHCertInformation ¶
type SSHCertInformation struct { // Path to secret containing leaf certificate // Required: true LeafCAPath *string `json:"leafCAPath"` // A list of principals on a certificate (user or host names) // Required: true Principals []string `json:"principals"` // Path to secret containing root certificate // Required: true RootCAPath *string `json:"rootCAPath"` // TTL for a generated certificate (in hours) // Required: true TTL *int64 `json:"ttl"` }
SSHCertInformation SSH cert information
swagger:model SSHCertInformation
func (*SSHCertInformation) ContextValidate ¶
ContextValidate validates this SSH cert information based on context it is used
func (*SSHCertInformation) MarshalBinary ¶
func (m *SSHCertInformation) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SSHCertInformation) UnmarshalBinary ¶
func (m *SSHCertInformation) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SearchResponse ¶
type SearchResponse struct { // Cursor to next batch of results. Cursor string `json:"cursor,omitempty"` // AuthenticationSettings settings that match the search term. Data []*AuthenticationSettings `json:"data"` // The number of results in this response. Length int64 `json:"length,omitempty"` // The maximum number of results per cursor. Limit int64 `json:"limit,omitempty"` }
SearchResponse AuthenticationSettings settings search response with metadata.
swagger:model SearchResponse
func (*SearchResponse) ContextValidate ¶
ContextValidate validate this search response based on the context it is used
func (*SearchResponse) MarshalBinary ¶
func (m *SearchResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SearchResponse) UnmarshalBinary ¶
func (m *SearchResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SecretListPathsResponse ¶
type SecretListPathsResponse struct { // Matching secret paths Data []string `json:"data"` }
SecretListPathsResponse secret list paths response
swagger:model SecretListPathsResponse
func (*SecretListPathsResponse) ContextValidate ¶
func (m *SecretListPathsResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this secret list paths response based on context it is used
func (*SecretListPathsResponse) MarshalBinary ¶
func (m *SecretListPathsResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SecretListPathsResponse) UnmarshalBinary ¶
func (m *SecretListPathsResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SecretVersionResponse ¶
type SecretVersionResponse struct { // data Data []*ResponseModelFull `json:"data"` }
SecretVersionResponse secret version response
swagger:model SecretVersionResponse
func (*SecretVersionResponse) ContextValidate ¶
ContextValidate validate this secret version response based on the context it is used
func (*SecretVersionResponse) MarshalBinary ¶
func (m *SecretVersionResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SecretVersionResponse) UnmarshalBinary ¶
func (m *SecretVersionResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Settings ¶
type Settings struct { // authentication Authentication []*Authentication `json:"authentication"` }
Settings Settings is the per tenant app config settings
swagger:model Settings
func (*Settings) ContextValidate ¶
ContextValidate validate this settings based on the context it is used
func (*Settings) MarshalBinary ¶
MarshalBinary interface implementation
func (*Settings) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type SiemCreateUpdateRequestModel ¶
type SiemCreateUpdateRequestModel struct { // Denotes whether the endpoint can use self signed root certifcate for handshake (only for https protocol) AllowSelfSigned bool `json:"allowSelfSigned,omitempty"` // Authentication token // Required: true Auth *string `json:"auth"` // Authentication method (token) // Required: true AuthMethod *string `json:"authMethod"` // Endpoint Endpoint string `json:"endpoint,omitempty"` // Collect Server IP/FQDN // Required: true Host *string `json:"host"` // Logging Format (i.e. syslog (RFC 5424)) // Required: true LoggingFormat *string `json:"loggingFormat"` // Name of registered SIEM endpoint, similar to path // Required: true Name *string `json:"name"` // Engine pool name, used when sending request to a DSV engine instance Pool string `json:"pool,omitempty"` // Port // Required: true Port *int64 `json:"port"` // Type of protocol (i.e. TCP, UDP) // Required: true Protocol *string `json:"protocol"` // Denotes whether the endpoint should be accessed through a DSV engine instance SendToEngine bool `json:"sendToEngine,omitempty"` // Type of endpoint ("syslog", "cef", "json", "splunk") // Required: true SiemType *string `json:"siemType"` }
SiemCreateUpdateRequestModel siem create update request model
swagger:model SiemCreateUpdateRequestModel
func (*SiemCreateUpdateRequestModel) ContextValidate ¶
func (m *SiemCreateUpdateRequestModel) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this siem create update request model based on context it is used
func (*SiemCreateUpdateRequestModel) MarshalBinary ¶
func (m *SiemCreateUpdateRequestModel) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SiemCreateUpdateRequestModel) UnmarshalBinary ¶
func (m *SiemCreateUpdateRequestModel) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SiemNoSensitiveResponseModel ¶
type SiemNoSensitiveResponseModel struct { // Denotes whether the endpoint can use self signed root certifcate for handshake (only for https protocol) AllowSelfSigned bool `json:"allowSelfSigned,omitempty"` // Authentication method (token) AuthMethod string `json:"authMethod,omitempty"` // Endpoint Endpoint string `json:"endpoint,omitempty"` // Failed is true if send has failed too many times, false otherwise Failed bool `json:"failed,omitempty"` // Number of failed send events FailedEvents int64 `json:"failedEvents,omitempty"` // Collect Server IP/FQDN Host string `json:"host,omitempty"` // The unique id for this item ID string `json:"id,omitempty"` // Logging format (e.g. "rfc5424" for syslog) LoggingFormat string `json:"loggingFormat,omitempty"` // Name of registered SIEM endpoint, similar to path Name string `json:"name,omitempty"` // Engine pool name, used when sending request to a DSV engine instance Pool string `json:"pool,omitempty"` // Collect Server Port Port int64 `json:"port,omitempty"` // Type of protocol ("tcp", "udp", "http", "https", "tls") Protocol string `json:"protocol,omitempty"` // Denotes whether the endpoint should be accessed through a DSV engine instance SendToEngine bool `json:"sendToEngine,omitempty"` // Type of endpoint ("syslog", "cef", "json", "splunk") SiemType string `json:"siemType,omitempty"` }
SiemNoSensitiveResponseModel siem no sensitive response model
swagger:model SiemNoSensitiveResponseModel
func (*SiemNoSensitiveResponseModel) ContextValidate ¶
func (m *SiemNoSensitiveResponseModel) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this siem no sensitive response model based on context it is used
func (*SiemNoSensitiveResponseModel) MarshalBinary ¶
func (m *SiemNoSensitiveResponseModel) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SiemNoSensitiveResponseModel) UnmarshalBinary ¶
func (m *SiemNoSensitiveResponseModel) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SiemResponseModel ¶
type SiemResponseModel struct { // Denotes whether the endpoint can use self signed root certifcate for handshake (only for https protocol) AllowSelfSigned bool `json:"allowSelfSigned,omitempty"` // Authentication token Auth string `json:"auth,omitempty"` // Authentication method (token) AuthMethod string `json:"authMethod,omitempty"` // Endpoint Endpoint string `json:"endpoint,omitempty"` // Failed is true if send has failed too many times, false otherwise Failed bool `json:"failed,omitempty"` // Number of failed send events FailedEvents int64 `json:"failedEvents,omitempty"` // Collect Server IP/FQDN Host string `json:"host,omitempty"` // The unique id for this item ID string `json:"id,omitempty"` // Logging format (e.g. "rfc5424" for syslog) LoggingFormat string `json:"loggingFormat,omitempty"` // Name of registered SIEM endpoint, similar to path Name string `json:"name,omitempty"` // Engine pool name, used when sending request to a DSV engine instance Pool string `json:"pool,omitempty"` // Collect Server Port Port int64 `json:"port,omitempty"` // Type of protocol ("tcp", "udp", "http", "https", "tls") Protocol string `json:"protocol,omitempty"` // Denotes whether the endpoint should be accessed through a DSV engine instance SendToEngine bool `json:"sendToEngine,omitempty"` // Type of endpoint ("syslog", "cef", "json", "splunk") SiemType string `json:"siemType,omitempty"` }
SiemResponseModel siem response model
swagger:model SiemResponseModel
func (*SiemResponseModel) ContextValidate ¶
ContextValidate validates this siem response model based on context it is used
func (*SiemResponseModel) MarshalBinary ¶
func (m *SiemResponseModel) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SiemResponseModel) UnmarshalBinary ¶
func (m *SiemResponseModel) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SignedLeafCertificate ¶
type SignedLeafCertificate struct { // certificate Certificate string `json:"certificate,omitempty"` // root certificate RootCertificate string `json:"rootCertificate,omitempty"` }
SignedLeafCertificate SignedLeafCertificate contains the signed certificate and optionally root certificate.
swagger:model SignedLeafCertificate
func (*SignedLeafCertificate) ContextValidate ¶
ContextValidate validates this signed leaf certificate based on context it is used
func (*SignedLeafCertificate) MarshalBinary ¶
func (m *SignedLeafCertificate) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SignedLeafCertificate) UnmarshalBinary ¶
func (m *SignedLeafCertificate) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SigningRequest ¶
type SigningRequest struct { // Certificate Signing Request // Required: true CSR *string `json:"csr"` // Boolean indicating whether to return a root certificate Chain bool `json:"chain,omitempty"` // Path to secret - registered root CA // Required: true RootCAPath *string `json:"rootCAPath"` // A list of Subject Alternative Names for a certificate (each domain must be present in the list of allowed domains) SubjectAltNames []string `json:"subjectAltNames"` // TTL for a generated certificate (in hours, cannot exceed the maximum TTL specified in root CA secret) TTL int64 `json:"ttl,omitempty"` }
SigningRequest signing request
swagger:model SigningRequest
func (*SigningRequest) ContextValidate ¶
ContextValidate validates this signing request based on context it is used
func (*SigningRequest) MarshalBinary ¶
func (m *SigningRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SigningRequest) UnmarshalBinary ¶
func (m *SigningRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SigningRequestInformation ¶
type SigningRequestInformation struct { // Boolean indicating whether to return a root certificate Chain bool `json:"chain,omitempty"` // common name // Required: true CommonName *string `json:"commonName"` // country Country string `json:"country,omitempty"` // description Description string `json:"description,omitempty"` // email address EmailAddress string `json:"emailAddress,omitempty"` // locality Locality string `json:"locality,omitempty"` // organization Organization string `json:"organization,omitempty"` // organizational unit OrganizationalUnit string `json:"organizationalUnit,omitempty"` // The name of the secret containing the root CA certificate // Required: true RootCAPath *string `json:"rootCAPath"` // state State string `json:"state,omitempty"` // The name of the secret in which to store the generated certificate and private key StorePath string `json:"storePath,omitempty"` // TTL for a generated certificate (in hours, cannot exceed the maximum TTL specified in root CA secret) TTL int64 `json:"ttl,omitempty"` }
SigningRequestInformation signing request information
swagger:model SigningRequestInformation
func (*SigningRequestInformation) ContextValidate ¶
func (m *SigningRequestInformation) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this signing request information based on context it is used
func (*SigningRequestInformation) MarshalBinary ¶
func (m *SigningRequestInformation) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SigningRequestInformation) UnmarshalBinary ¶
func (m *SigningRequestInformation) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type StatusResponse ¶
type StatusResponse struct { // status Status string `json:"status,omitempty"` }
StatusResponse status response
swagger:model StatusResponse
func (*StatusResponse) ContextValidate ¶
ContextValidate validates this status response based on context it is used
func (*StatusResponse) MarshalBinary ¶
func (m *StatusResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*StatusResponse) UnmarshalBinary ¶
func (m *StatusResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type TaskResult ¶
type TaskResult struct { // type Type string `json:"type,omitempty"` // value Value interface{} `json:"value,omitempty"` }
TaskResult Any metadata values
swagger:model TaskResult
func (*TaskResult) ContextValidate ¶
ContextValidate validates this task result based on context it is used
func (*TaskResult) MarshalBinary ¶
func (m *TaskResult) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*TaskResult) UnmarshalBinary ¶
func (m *TaskResult) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type TaskState ¶
type TaskState struct { // created at // Format: date-time CreatedAt strfmt.DateTime `json:"createdAt,omitempty"` // results Results []*TaskResult `json:"results"` // state State string `json:"state,omitempty"` // task name TaskName string `json:"taskName,omitempty"` }
TaskState TaskState represents a state of a task
swagger:model TaskState
func (*TaskState) ContextValidate ¶
ContextValidate validate this task state based on the context it is used
func (*TaskState) MarshalBinary ¶
MarshalBinary interface implementation
func (*TaskState) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type UpdateKeyRequest ¶
type UpdateKeyRequest struct { // metadata Metadata interface{} `json:"metadata,omitempty"` // Base64 encoded nonce to be used with key. If not provided, DSV generates it for the user. Nonce string `json:"nonce,omitempty"` // Base64 encoded private key // Required: true PrivateKey *string `json:"privateKey"` }
UpdateKeyRequest update key request
swagger:model UpdateKeyRequest
func (*UpdateKeyRequest) ContextValidate ¶
ContextValidate validates this update key request based on context it is used
func (*UpdateKeyRequest) MarshalBinary ¶
func (m *UpdateKeyRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UpdateKeyRequest) UnmarshalBinary ¶
func (m *UpdateKeyRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UsageResponseGeneral ¶
type UsageResponseGeneral struct { // end date EndDate string `json:"endDate,omitempty"` // Keys are days, values are numbers of API requests made that day. RequestsUsed map[string]int64 `json:"requestsUsed,omitempty"` // start date StartDate string `json:"startDate,omitempty"` // total keys TotalKeys int64 `json:"totalKeys,omitempty"` // total requests used TotalRequestsUsed int64 `json:"totalRequestsUsed,omitempty"` // total secrets TotalSecrets int64 `json:"totalSecrets,omitempty"` }
UsageResponseGeneral UsageResponseGeneral defines the properties that represent a usage response for the general API.
swagger:model UsageResponseGeneral
func (*UsageResponseGeneral) ContextValidate ¶
ContextValidate validates this usage response general based on context it is used
func (*UsageResponseGeneral) MarshalBinary ¶
func (m *UsageResponseGeneral) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UsageResponseGeneral) UnmarshalBinary ¶
func (m *UsageResponseGeneral) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type User ¶
type User struct { // Created date Created string `json:"created,omitempty"` // Who created CreatedBy string `json:"createdBy,omitempty"` // The display name of the user DisplayName string `json:"displayName,omitempty"` // External identifier, such as an AWS arn for 3rd party authentication ExternalID string `json:"externalId,omitempty"` // the id for this item ID string `json:"id,omitempty"` // Last updated date LastModified string `json:"lastModified,omitempty"` // Who performed the last modification LastModifiedBy string `json:"lastModifiedBy,omitempty"` // Provider name defined in the authentication settings section of configuration Provider string `json:"provider,omitempty"` // The name of the user UserName string `json:"userName,omitempty"` // Current version Version string `json:"version,omitempty"` }
User User contains user data along with user metadata
swagger:model User
func (*User) ContextValidate ¶
ContextValidate validates this user based on context it is used
func (*User) MarshalBinary ¶
MarshalBinary interface implementation
func (*User) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type UserCreateModel ¶
type UserCreateModel struct { // The display name of the user DisplayName string `json:"displayName,omitempty"` // External identifier, such as an AWS arn for 3rd party authentication ExternalID string `json:"externalId,omitempty"` // User's password (not required if using 3rd party auth) Password string `json:"password,omitempty"` // Provider name defined in the authentication settings section of configuration Provider string `json:"provider,omitempty"` // The name of the user // Required: true // Max Length: 100 // Min Length: 3 UserName *string `json:"userName"` }
UserCreateModel Creation properties of a user
swagger:model UserCreateModel
func (*UserCreateModel) ContextValidate ¶
ContextValidate validates this user create model based on context it is used
func (*UserCreateModel) MarshalBinary ¶
func (m *UserCreateModel) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UserCreateModel) UnmarshalBinary ¶
func (m *UserCreateModel) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UserUpdateModel ¶
type UserUpdateModel struct { // The display name of the user DisplayName string `json:"displayName,omitempty"` // User's password (not required if using 3rd party auth) Password string `json:"password,omitempty"` }
UserUpdateModel Editable properties of a user
swagger:model UserUpdateModel
func (*UserUpdateModel) ContextValidate ¶
ContextValidate validates this user update model based on context it is used
func (*UserUpdateModel) MarshalBinary ¶
func (m *UserUpdateModel) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UserUpdateModel) UnmarshalBinary ¶
func (m *UserUpdateModel) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type UserVersionResponse ¶
type UserVersionResponse struct { // data Data []*User `json:"data"` }
UserVersionResponse user version response
swagger:model UserVersionResponse
func (*UserVersionResponse) ContextValidate ¶
ContextValidate validate this user version response based on the context it is used
func (*UserVersionResponse) MarshalBinary ¶
func (m *UserVersionResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*UserVersionResponse) UnmarshalBinary ¶
func (m *UserVersionResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
Source Files
¶
- access_token_response.go
- add_member_response.go
- add_to_groups_request.go
- add_to_groups_response.go
- apply_response.go
- audit.go
- auth_properties.go
- authentication.go
- authentication_create_model.go
- authentication_settings.go
- authentication_settings_version_response.go
- auto_key.go
- auto_key_response.go
- client_create.go
- client_credentials.go
- condition.go
- conditions.go
- create_group.go
- create_response.go
- decryption_response.go
- default_policy.go
- details.go
- document.go
- document_version.go
- encryption_response.go
- engine.go
- engine_create.go
- engine_list_result.go
- engine_search_response.go
- generate_response.go
- group.go
- group_member_info.go
- group_response.go
- history.go
- http_error.go
- initiate_cert_auth_response.go
- key.go
- manual_key_data.go
- member_request.go
- member_response.go
- message_response.go
- page_info.go
- password_change.go
- ping_response.go
- policy.go
- policy_create.go
- policy_search_response.go
- policy_update.go
- policy_version_response.go
- pool.go
- pool_create.go
- pool_list_result.go
- post_config_model.go
- provider_properties.go
- request_model_create.go
- request_model_update.go
- response_audit_search.go
- response_certificate.go
- response_model_description.go
- response_model_full.go
- response_model_search.go
- response_root_certificate.go
- response_ssh_certificate.go
- role.go
- role_create.go
- role_details.go
- role_version_response.go
- roles.go
- root_c_a_registration.go
- root_c_a_secret.go
- search_response.go
- secret_list_paths_response.go
- secret_version_response.go
- settings.go
- siem_create_update_request_model.go
- siem_no_sensitive_response_model.go
- siem_response_model.go
- signed_leaf_certificate.go
- signing_request.go
- signing_request_information.go
- ssh_cert_information.go
- status_response.go
- task_result.go
- task_state.go
- update_key_request.go
- usage_response_general.go
- user.go
- user_create_model.go
- user_update_model.go
- user_version_response.go