accounts

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 14, 2025 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
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) AccountCredentials

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

AccountsStats retrieves the statistics of ArkPCloudAccounts.

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

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) ListAccountSecretVersions

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

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) UpdateAccount

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL