Documentation
¶
Index ¶
- Variables
- type ArkPCloudAccountsPage
- type ArkPCloudAccountsService
- func (s *ArkPCloudAccountsService) Account(getAccount *accountsmodels.ArkPCloudGetAccount) (*accountsmodels.ArkPCloudAccount, error)
- func (s *ArkPCloudAccountsService) AccountCredentials(getAccount *accountsmodels.ArkPCloudGetAccountCredentials) (*accountsmodels.ArkPCloudAccountCredentials, error)
- func (s *ArkPCloudAccountsService) AccountsStats() (*accountsmodels.ArkPCloudAccountsStats, error)
- func (s *ArkPCloudAccountsService) AddAccount(addAccount *accountsmodels.ArkPCloudAddAccount) (*accountsmodels.ArkPCloudAccount, error)
- func (s *ArkPCloudAccountsService) ChangeAccountCredentials(changeAccountCredentials *accountsmodels.ArkPCloudChangeAccountCredentials) error
- func (s *ArkPCloudAccountsService) DeleteAccount(deleteAccount *accountsmodels.ArkPCloudDeleteAccount) error
- func (s *ArkPCloudAccountsService) GenerateAccountCredentials(generateAccountCredentials *accountsmodels.ArkPCloudGenerateAccountCredentials) (*accountsmodels.ArkPCloudAccountCredentials, error)
- func (s *ArkPCloudAccountsService) LinkAccount(linkAccount *accountsmodels.ArkPCloudLinkAccount) error
- func (s *ArkPCloudAccountsService) ListAccountSecretVersions(listAccountSecretVersions *accountsmodels.ArkPCloudListAccountSecretVersions) ([]*accountsmodels.ArkPCloudAccountSecretVersion, error)
- func (s *ArkPCloudAccountsService) ListAccounts() (<-chan *ArkPCloudAccountsPage, error)
- func (s *ArkPCloudAccountsService) ListAccountsBy(accountsFilters *accountsmodels.ArkPCloudAccountsFilter) (<-chan *ArkPCloudAccountsPage, error)
- func (s *ArkPCloudAccountsService) ReconcileAccountCredentials(...) error
- func (s *ArkPCloudAccountsService) ServiceConfig() services.ArkServiceConfig
- func (s *ArkPCloudAccountsService) SetAccountNextCredentials(setAccountNextCredentials *accountsmodels.ArkPCloudSetAccountNextCredentials) error
- func (s *ArkPCloudAccountsService) UnlinkAccount(unlinkAccount *accountsmodels.ArkPCloudUnlinkAccount) error
- func (s *ArkPCloudAccountsService) UpdateAccount(updateAccount *accountsmodels.ArkPCloudUpdateAccount) (*accountsmodels.ArkPCloudAccount, error)
- func (s *ArkPCloudAccountsService) UpdateAccountCredentialsInVault(...) error
- func (s *ArkPCloudAccountsService) VerifyAccountCredentials(verifyAccountCredentials *accountsmodels.ArkPCloudVerifyAccountCredentials) error
Constants ¶
This section is empty.
Variables ¶
var PCloudAccountsServiceConfig = services.ArkServiceConfig{ ServiceName: "pcloud-accounts", RequiredAuthenticatorNames: []string{"isp"}, OptionalAuthenticatorNames: []string{}, }
PCloudAccountsServiceConfig is the configuration for the pCloud Accounts service.
Functions ¶
This section is empty.
Types ¶
type ArkPCloudAccountsPage ¶
type ArkPCloudAccountsPage = common.ArkPage[accountsmodels.ArkPCloudAccount]
ArkPCloudAccountsPage is a paginated type for ArkPCloudAccount
type ArkPCloudAccountsService ¶
type ArkPCloudAccountsService struct {
services.ArkService
*services.ArkBaseService
// contains filtered or unexported fields
}
ArkPCloudAccountsService is the service for managing pCloud Accounts.
func NewArkPCloudAccountsService ¶
func NewArkPCloudAccountsService(authenticators ...auth.ArkAuth) (*ArkPCloudAccountsService, error)
NewArkPCloudAccountsService creates a new instance of ArkPCloudAccountsService.
func (*ArkPCloudAccountsService) Account ¶
func (s *ArkPCloudAccountsService) Account(getAccount *accountsmodels.ArkPCloudGetAccount) (*accountsmodels.ArkPCloudAccount, error)
Account retrieves an ArkPCloudAccount by its ID. https://docs.cyberark.com/Product-Doc/OnlineHelp/PAS/Latest/en/Content/WebServices/Get%20Account%20Details.htm?
func (*ArkPCloudAccountsService) AccountCredentials ¶
func (s *ArkPCloudAccountsService) AccountCredentials(getAccount *accountsmodels.ArkPCloudGetAccountCredentials) (*accountsmodels.ArkPCloudAccountCredentials, error)
AccountCredentials retrieves the credentials of an ArkPCloudAccount by its ID. https://docs.cyberark.com/Product-Doc/OnlineHelp/PAS/Latest/en/Content/WebServices/GetPasswordValueV10.htm?
func (*ArkPCloudAccountsService) AccountsStats ¶
func (s *ArkPCloudAccountsService) AccountsStats() (*accountsmodels.ArkPCloudAccountsStats, error)
AccountsStats retrieves the statistics of ArkPCloudAccounts.
func (*ArkPCloudAccountsService) AddAccount ¶
func (s *ArkPCloudAccountsService) AddAccount(addAccount *accountsmodels.ArkPCloudAddAccount) (*accountsmodels.ArkPCloudAccount, error)
AddAccount adds a new ArkPCloudAccount. https://docs.cyberark.com/Product-Doc/OnlineHelp/PAS/Latest/en/Content/WebServices/Add%20Account%20v10.htm?
func (*ArkPCloudAccountsService) ChangeAccountCredentials ¶
func (s *ArkPCloudAccountsService) ChangeAccountCredentials(changeAccountCredentials *accountsmodels.ArkPCloudChangeAccountCredentials) error
ChangeAccountCredentials marks the account for password changing immediately by CPM. https://docs.cyberark.com/Product-Doc/OnlineHelp/PAS/Latest/en/Content/WebServices/Change-credentials-immediately.htm
func (*ArkPCloudAccountsService) DeleteAccount ¶
func (s *ArkPCloudAccountsService) DeleteAccount(deleteAccount *accountsmodels.ArkPCloudDeleteAccount) error
DeleteAccount deletes an existing account. https://docs.cyberark.com/Product-Doc/OnlineHelp/PAS/Latest/en/Content/WebServices/Delete%20Account.htm
func (*ArkPCloudAccountsService) GenerateAccountCredentials ¶
func (s *ArkPCloudAccountsService) GenerateAccountCredentials(generateAccountCredentials *accountsmodels.ArkPCloudGenerateAccountCredentials) (*accountsmodels.ArkPCloudAccountCredentials, error)
GenerateAccountCredentials generate a new random password for an existing account with policy restrictions. https://docs.cyberark.com/Product-Doc/OnlineHelp/PAS/Latest/en/Content/SDK/Secrets-Generate-Password.htm
func (*ArkPCloudAccountsService) LinkAccount ¶
func (s *ArkPCloudAccountsService) LinkAccount(linkAccount *accountsmodels.ArkPCloudLinkAccount) error
LinkAccount links an account https://docs.cyberark.com/Product-Doc/OnlineHelp/PrivCloud-SS/Latest/en/Content/WebServices/Link-account.htm
func (*ArkPCloudAccountsService) ListAccountSecretVersions ¶
func (s *ArkPCloudAccountsService) ListAccountSecretVersions(listAccountSecretVersions *accountsmodels.ArkPCloudListAccountSecretVersions) ([]*accountsmodels.ArkPCloudAccountSecretVersion, error)
ListAccountSecretVersions retrieves a list of ArkPCloudAccountSecretVersion. https://docs.cyberark.com/Product-Doc/OnlineHelp/PAS/Latest/en/Content/SDK/Secrets-Get-versions.htm
func (*ArkPCloudAccountsService) ListAccounts ¶
func (s *ArkPCloudAccountsService) ListAccounts() (<-chan *ArkPCloudAccountsPage, error)
ListAccounts retrieves a list of ArkPCloudAccount pages. https://docs.cyberark.com/Product-Doc/OnlineHelp/PAS/Latest/en/Content/SDK/GetAccounts.htm
func (*ArkPCloudAccountsService) ListAccountsBy ¶
func (s *ArkPCloudAccountsService) ListAccountsBy(accountsFilters *accountsmodels.ArkPCloudAccountsFilter) (<-chan *ArkPCloudAccountsPage, error)
ListAccountsBy retrieves a list of ArkPCloudAccount pages with filters. https://docs.cyberark.com/Product-Doc/OnlineHelp/PAS/Latest/en/Content/SDK/GetAccounts.htm
func (*ArkPCloudAccountsService) ReconcileAccountCredentials ¶
func (s *ArkPCloudAccountsService) ReconcileAccountCredentials(reconcileAccountCredentials *accountsmodels.ArkPCloudReconcileAccountCredentials) error
ReconcileAccountCredentials marks the account for reconciliation. https://docs.cyberark.com/Product-Doc/OnlineHelp/PAS/Latest/en/Content/WebServices/Reconcile-account.htm
func (*ArkPCloudAccountsService) ServiceConfig ¶
func (s *ArkPCloudAccountsService) ServiceConfig() services.ArkServiceConfig
ServiceConfig returns the service configuration for the ArkPCloudAccountsService.
func (*ArkPCloudAccountsService) SetAccountNextCredentials ¶
func (s *ArkPCloudAccountsService) SetAccountNextCredentials(setAccountNextCredentials *accountsmodels.ArkPCloudSetAccountNextCredentials) error
SetAccountNextCredentials marks the account to have its password changed to the given one via CPM. https://docs.cyberark.com/Product-Doc/OnlineHelp/PAS/Latest/en/Content/WebServices/SetNextPassword.htm
func (*ArkPCloudAccountsService) UnlinkAccount ¶
func (s *ArkPCloudAccountsService) UnlinkAccount(unlinkAccount *accountsmodels.ArkPCloudUnlinkAccount) error
UnlinkAccount unlinks an account https://docs.cyberark.com/Product-Doc/OnlineHelp/PrivCloud-SS/Latest/en/Content/WebServices/Link-account-unlink.htm
func (*ArkPCloudAccountsService) UpdateAccount ¶
func (s *ArkPCloudAccountsService) UpdateAccount(updateAccount *accountsmodels.ArkPCloudUpdateAccount) (*accountsmodels.ArkPCloudAccount, error)
UpdateAccount updates an existing ArkPCloudAccount. https://docs.cyberark.com/Product-Doc/OnlineHelp/PAS/Latest/en/Content/SDK/UpdateAccount%20v10.htm
func (*ArkPCloudAccountsService) UpdateAccountCredentialsInVault ¶
func (s *ArkPCloudAccountsService) UpdateAccountCredentialsInVault(updateAccountCredentialsInVault *accountsmodels.ArkPCloudUpdateAccountCredentialsInVault) error
UpdateAccountCredentialsInVault updates the account credentials only in the vault without changing it on the machine itself. https://docs.cyberark.com/Product-Doc/OnlineHelp/PAS/Latest/en/Content/WebServices/ChangeCredentialsInVault.htm
func (*ArkPCloudAccountsService) VerifyAccountCredentials ¶
func (s *ArkPCloudAccountsService) VerifyAccountCredentials(verifyAccountCredentials *accountsmodels.ArkPCloudVerifyAccountCredentials) error
VerifyAccountCredentials marks the account for password verification by CPM. https://docs.cyberark.com/Product-Doc/OnlineHelp/PAS/Latest/en/Content/WebServices/Verify-credentials-v9-10.htm