Documentation
¶
Index ¶
Constants ¶
const ( File string = "file" SingleFile string = "single_file" Raw string = "raw" Base64 string = "base64" )
Possible output formats for Ark SIA SSO
const ( PEM string = "PEM" SSO string = "SSO" )
Possible wallet types for Ark SIA SSO
const ( Password string = "password" ClientCertificate string = "client_certificate" OracleWallet string = "oracle_wallet" RDPFile string = "rdp_file" )
Possible token types for Ark SIA SSO
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ArkSIASSOAcquireTokenResponse ¶
type ArkSIASSOAcquireTokenResponse struct {
Token map[string]interface{} `json:"token" validate:"required" mapstructure:"token"`
Metadata map[string]interface{} `json:"metadata" validate:"required" mapstructure:"metadata"`
}
ArkSIASSOAcquireTokenResponse is a struct that represents the response from the Ark SIA SSO service for acquiring a token.
type ArkSIASSOGetSSHKey ¶
type ArkSIASSOGetSSHKey struct {
Folder string `json:"folder" mapstructure:"folder" flag:"folder" desc:"Output folder to write the ssh key to" default:"~/.ssh"`
}
ArkSIASSOGetSSHKey is a struct that represents the request for getting SSH key from the Ark SIA SSO service.
type ArkSIASSOGetShortLivedClientCertificate ¶
type ArkSIASSOGetShortLivedClientCertificate struct {
AllowCaching bool `json:"allow_caching" mapstructure:"allow_caching" flag:"allow-caching" desc:"Allow short lived token caching" default:"false"`
Folder string `` /* 152-byte string literal not displayed */
OutputFormat string `` /* 200-byte string literal not displayed */
Service string `` /* 180-byte string literal not displayed */
}
ArkSIASSOGetShortLivedClientCertificate is a struct that represents the request for getting a short-lived client certificate from the Ark SIA SSO service.
type ArkSIASSOGetShortLivedOracleWallet ¶
type ArkSIASSOGetShortLivedOracleWallet struct {
AllowCaching bool `json:"allow_caching" mapstructure:"allow_caching" flag:"allow-caching" desc:"Allow short lived token caching" default:"false"`
UnzipWallet bool `json:"unzip_wallet" mapstructure:"unzip_wallet" flag:"unzip-wallet" desc:"Whether to save zipped or not" default:"true"`
Folder string `json:"folder" validate:"required" mapstructure:"folder" flag:"folder" desc:"Output folder to write the wallet to"`
WalletType string `` /* 190-byte string literal not displayed */
}
ArkSIASSOGetShortLivedOracleWallet is a struct that represents the request for getting a short-lived Oracle wallet from the Ark SIA SSO service.
type ArkSIASSOGetShortLivedPassword ¶
type ArkSIASSOGetShortLivedPassword struct {
AllowCaching bool `json:"allow_caching" mapstructure:"allow_caching" flag:"allow-caching" desc:"Allow short lived token caching" default:"false"`
Service string `` /* 141-byte string literal not displayed */
}
ArkSIASSOGetShortLivedPassword is a struct that represents the request for getting a short-lived password from the Ark SIA SSO service.
type ArkSIASSOGetShortLivedRDPFile ¶
type ArkSIASSOGetShortLivedRDPFile struct {
AllowCaching bool `json:"allow_caching" mapstructure:"allow_caching" flag:"allow-caching" desc:"Allow short lived token caching" default:"false"`
Folder string `json:"folder" validate:"required" mapstructure:"folder" flag:"folder" desc:"Output folder to write the rdp file to"`
TargetAddress string `json:"target_address" validate:"required" mapstructure:"target_address"`
TargetDomain string `json:"target_domain" mapstructure:"target_domain" flag:"target-domain" desc:"Target domain to use for the rdp file"`
TargetUser string `json:"target_user" mapstructure:"target_user" flag:"target-user" desc:"Target user to use for the rdp file"`
ElevatedPrivileges bool `` /* 137-byte string literal not displayed */
}
ArkSIASSOGetShortLivedRDPFile is a struct that represents the request for getting a short-lived RDP file from the Ark SIA SSO service.
type ArkSIASSOGetTokenInfo ¶
type ArkSIASSOGetTokenInfo struct {
TokenType string `` /* 222-byte string literal not displayed */
Service string `` /* 215-byte string literal not displayed */
}
ArkSIASSOGetTokenInfo is a struct that represents the request for getting token information from the Ark SIA SSO service.
type ArkSIASSOTokenInfo ¶
type ArkSIASSOTokenInfo struct {
Metadata map[string]interface{} `json:"metadata" validate:"required" mapstructure:"metadata"`
}
ArkSIASSOTokenInfo is a struct that represents the response from the Ark SIA SSO service for token information.