Categorygithub.com/Keyfactor/keyfactor-go-client-sdk/v10

# Packages

No description provided by the author

# README

Go API client for command

This reference serves to document REST-based methods to manage and integrate with Keyfactor. In addition, an embedded interface allows for the execution of calls against the current Keyfactor API instance.

Overview

This API client was generated by the OpenAPI Generator project. By using the OpenAPI-spec from a remote server, you can easily generate an API client.

  • API version: v1
  • Package version: 1.0.0
  • Build package: org.openapitools.codegen.languages.GoClientCodegen

Installation

Install the following dependencies:

go get "github.com/Keyfactor/keyfactor-go-client-sdk"

Put the package under your project folder and add the following in import:

import "github.com/Keyfactor/keyfactor-go-client-sdk/api/command"

Configuration

The command.NewConfiguration() method is used to configure the Keyfactor Go Client SDK. The client can be configured by passing a map of configuration options to the NewConfiguration() method, or by passing a blank map and setting the configuration options individually on the returned Configuration object.

The following configuration options are available:

// Create a configuration map
config := make(map[string]string)
config["host"] = "keyfactor.example.com"
config["username"] = "admin"
config["password"] = "password"
config["domain"] = "example.com" // optional
config["caCertificatePath"] = "/path/to/local/certificate" // optional

// Create a configuration object
kfcmdConfiguration := command.NewConfiguration(config)
if kfcmdConfiguration == nil {
    // handle error
}

// Create a client
client := keyfactor.NewAPIClient(config)
if client == nil {
    // handle error
}

or

// Create a configuration object
kfcmdConfiguration := command.NewConfiguration(make(map[string]string))

// Set configuration options individually
kfcmdConfiguration.Host = "keyfactor.example.com"
kfcmdConfiguration.BasicAuth.Username = "admin"
kfcmdConfiguration.BasicAuth.Password = "password"
kfcmdConfiguration.CaCertificatePath = "/path/to/local/certificate" // optional

// Create a client
client := keyfactor.NewAPIClient(kfcmdConfiguration)
if client == nil {
    // handle error
}

The root CA certificate can also be configured by passing a slice of *x509.Certificate objects to the kfcmd.Configuration.SetCaCertificates() method.

// Create a configuration object
kfcmdConfiguration := command.NewConfiguration(make(map[string]string))

// Set the root CA certificate
kfcmdConfiguration.SetCaCertificates([]*x509.Certificate{caCertificate})

// Create a client
client := keyfactor.NewAPIClient(kfcmdConfiguration)

Documentation for API Endpoints

All URIs are relative to http://keyfactor.example.com

ClassMethodHTTP requestDescription
AgentApiAgentApprovePost /Agents/ApproveApprove a list of agents
AgentApiAgentDisapprovePost /Agents/DisapproveDisapprove a list of agents
AgentApiAgentFetchLogsPost /Agents/{id}/FetchLogsSchedules a job on the agent to retrieve log files
AgentApiAgentGetAgentDetailGet /Agents/{id}Returns details for a single agent, specified by ID
AgentApiAgentGetAgentsGet /AgentsReturns all agents according to the provided filter and output parameters
AgentApiAgentResetPost /Agents/{id}/ResetReset an agent to a new state
AgentApiAgentSetAuthCertificateReenrollmentPost /Agents/SetAuthCertificateReenrollmentUpdate the AuthCertificateReenrollment value for an agent to request or require (or unset the request) the agent to enroll for a new client authentication certificate on its next registration.
AgentApiAgentsResetPost /Agents/ResetReset a list of agents
AgentBlueprintApiAgentBlueprintApplyBlueprintPost /AgentBluePrint/ApplyBlueprintApplies the selected agent blueprint to the provided agents
AgentBlueprintApiAgentBlueprintDeleteBlueprintDelete /AgentBluePrint/{id}Deletes an agent blueprint by its Keyfactor identifier
AgentBlueprintApiAgentBlueprintGenerateBlueprintPost /AgentBluePrint/GenerateBluePrintGenerates an agent blueprint from the provided agents
AgentBlueprintApiAgentBlueprintGetAgentBlueprintGet /AgentBluePrint/{id}Returns an agent blueprint according to the provided filter and output parameters
AgentBlueprintApiAgentBlueprintGetAgentBlueprintsGet /AgentBluePrintReturns all agent blueprints according to the provided filter and output parameters
AgentBlueprintApiAgentBlueprintGetBlueprintJobsGet /AgentBluePrint/{id}/JobsGets the agent blueprint scheduled jobs
AgentBlueprintApiAgentBlueprintGetBlueprintStoresGet /AgentBluePrint/{id}/StoresGets the agent blueprint certificate stores
AgentPoolApiAgentPoolCreateAgentPoolPost /AgentPoolsCreates an agent pool with the provided properties
AgentPoolApiAgentPoolDeleteAgentPoolDelete /AgentPools/{id}Deletes the agent pool associated with the provided id
AgentPoolApiAgentPoolGetAgentPoolByIdGet /AgentPools/{id}Returns a single agent pool associated with the provided id
AgentPoolApiAgentPoolGetAgentPoolsGet /AgentPoolsReturns all agent pools according to the provided filter and output parameters
AgentPoolApiAgentPoolGetDefaultAgentPoolAgentsGet /AgentPools/AgentsReturns all agents for the default agent pool
AgentPoolApiAgentPoolUpdateAgentPoolPut /AgentPoolsUpdates an existing agent pool with the provided properties
AuditLogApiAuditLogDownloadCSVGet /Audit/DownloadReturns a Comma Separated file containing the audit log entries according to the provided filter
AuditLogApiAuditLogGetAuditLogGet /Audit/{id}Returns the audit log entry associated with the provided identifier
AuditLogApiAuditLogGetAuditLogsGet /AuditReturns all audit log entries according to the provided filter and output parameters
AuditLogApiAuditLogGetRelatedEntitiesGet /Audit/RelatedEntitiesReturns the audit log entry associated with the provided keyfactor id
AuditLogApiAuditLogValidateAuditLogGet /Audit/{id}/ValidateValidates the audit log entry associated with the provided keyfactor id
CSRGenerationApiCSRGenerationDeleteCSRDelete /CSRGeneration/Pending/{id}Deletes a CSR associated with the provided identifier
CSRGenerationApiCSRGenerationDeleteCSRsDelete /CSRGeneration/PendingDeletes the CSRs associated with the provided identifiers
CSRGenerationApiCSRGenerationDownloadGet /CSRGeneration/Pending/{id}Returns a previously generated CSR associated with the provided identifier
CSRGenerationApiCSRGenerationGetPendingCSRsGet /CSRGeneration/PendingReturns a list of the currently pending CSRs according to the provided query
CSRGenerationApiCSRGenerationPostGeneratePost /CSRGeneration/GenerateGenerates a CSR according the properties provided
CertificateApiCertificateAnalyzeCertPost /Certificates/AnalyzeReturns the public information of the certificate
CertificateApiCertificateCertificateHistoryGet /Certificates/{id}/HistoryGets the history of operations on a certificate
CertificateApiCertificateCompareMetadataGet /Certificates/Metadata/CompareCompares the metadata value provided with the metadata value associated with the specified certificate
CertificateApiCertificateDeleteByQueryDelete /Certificates/QueryDeletes multiple persisted certificate entities selected by a given query
CertificateApiCertificateDeleteCertificateDelete /Certificates/{id}Deletes a persisted certificate by its unique id as well as the stored private key (if present) associated with it
CertificateApiCertificateDeleteCertificatesDelete /CertificatesDeletes multiple persisted certificates by their unique ids
CertificateApiCertificateDeletePrivateKeys0Delete /Certificates/PrivateKeyDeletes the persisted private keys of multiple certificates by the unique ids of the Certificates
CertificateApiCertificateDeletePrivateKeys1Delete /Certificates/PrivateKey/{id}Deletes the persisted private key of the certificate associated with the provided identifier
CertificateApiCertificateDownloadCertificateAsyncPost /Certificates/DownloadDownloads the persisted certificate associated with the provided query
CertificateApiCertificateGetCertificateGet /Certificates/{id}Returns a single certificate that matches the id
CertificateApiCertificateGetCertificateLocationsGet /Certificates/Locations/{id}Returns a list of locations the certificate is in
CertificateApiCertificateGetCertificateSecurityGet /Certificates/{id}/SecurityGets the list of Security Identities and which permissions they have on the given certificate.
CertificateApiCertificateIdentityAuditGet /Certificates/IdentityAudit/{id}Audit identity permissions for certificate
CertificateApiCertificatePostImportCertificatePost /Certificates/ImportImports the provided certificate into the Keyfactor instance, including any provided associated data
CertificateApiCertificateQueryCertificatesGet /CertificatesReturns all certificates according to the provided filter and output parameters
CertificateApiCertificateRecoverCertificateAsyncPost /Certificates/RecoverRecovers the persisted certificate associated with the provided query
CertificateApiCertificateRevokePost /Certificates/RevokeRevokes the certificates associated with the provided identifiers and associates the provided data with the revocation
CertificateApiCertificateRevokeAllPost /Certificates/RevokeAllRevokes the certificates associated with the provided query and Collection Id and associates the provided data with the revocation
CertificateApiCertificateUpdateAllMetadataPut /Certificates/Metadata/AllUpdates the metadata for certificates associated with the certificate identifiers or query provided
CertificateApiCertificateUpdateMetadataPut /Certificates/MetadataUpdates the metadata for the certificate associated with the identifier provided
CertificateApiCertificateValidateCertificateGet /Certificates/{id}/ValidateValidates the certificate chain can be built.
CertificateAuthorityApiCertificateAuthorityCreateCAPost /CertificateAuthorityCreates a new CertificateAuthority object
CertificateAuthorityApiCertificateAuthorityDeleteCADelete /CertificateAuthority/{id}Deletes a CertificateAuthority from the system, specified by ID
CertificateAuthorityApiCertificateAuthorityGetCaGet /CertificateAuthority/{id}Returns details for a single CA, specified by ID
CertificateAuthorityApiCertificateAuthorityGetCasGet /CertificateAuthorityReturns all certificate authorities
CertificateAuthorityApiCertificateAuthorityPublishCRLPost /CertificateAuthority/PublishCRLPublishes a CRL according to the provided request
CertificateAuthorityApiCertificateAuthorityTestCertificateAuthorityPost /CertificateAuthority/TestValidates the connection info for the CA provided by the model.
CertificateAuthorityApiCertificateAuthorityUpdateCAPut /CertificateAuthorityUpdates a CertificateAuthority object
CertificateCollectionApiCertificateCollectionCopyFromExistingCollectionPost /CertificateCollections/CopyCreates a new certificate collection from an existing collection. The permissions, query and description of the existing collection are copied when creating the new record, with the option to overwrite the query or description.
CertificateCollectionApiCertificateCollectionCreateCollectionPost /CertificateCollectionsCreates a new certificate collection with the provided properties
CertificateCollectionApiCertificateCollectionGetCollection0Get /CertificateCollections/{id}Returns the certificate collection definition associated with the provided Keyfactor identifier
CertificateCollectionApiCertificateCollectionGetCollection1Get /CertificateCollections/{name}Returns the certificate collection associated with the provided collection name
CertificateCollectionApiCertificateCollectionGetCollectionsGet /CertificateCollectionsReturns all certificate collections
CertificateCollectionApiCertificateCollectionSetCollectionPermissionsPost /CertificateCollections/{id}/PermissionsSet the permissions for a collection
CertificateCollectionApiCertificateCollectionUpdateCollectionPut /CertificateCollectionsUpdates an existing certificate collection with the provided properties
CertificateStoreApiCertificateStoreAddCertificatePost /CertificateStores/Certificates/AddConfigures a management job to add a certificate to one or more stores with the provided schedule
CertificateStoreApiCertificateStoreApprovePendingPost /CertificateStores/ApproveApproves the provided certificate stores to make them available for management
CertificateStoreApiCertificateStoreConfigureDiscoveryJobPut /CertificateStores/DiscoveryJobConfigures a discovery job to locate currently unmanaged certificate stores
CertificateStoreApiCertificateStoreCreateCertificateStorePost /CertificateStoresCreates a new certificate store with the provided properties
CertificateStoreApiCertificateStoreCreateCertificateStoreServerPost /CertificateStores/ServerCreates a new certificate store server with the provided properties
CertificateStoreApiCertificateStoreDeleteCertificateStoreDelete /CertificateStores/{id}Deletes a persisted certificate store by its Keyfactor identifier
CertificateStoreApiCertificateStoreDeleteCertificateStoresDelete /CertificateStoresDeletes multiple persisted certificate store entities by their identifiers
CertificateStoreApiCertificateStoreGetCertificateStoreGet /CertificateStores/{id}Returns a single certificate store associated with the provided id
CertificateStoreApiCertificateStoreGetCertificateStoreInventoryGet /CertificateStores/{id}/InventoryReturns a single certificate store's inventory associated with the provided id
CertificateStoreApiCertificateStoreQueryCertificateStoresGet /CertificateStoresReturns all certificate stores according to the provided filter and output parameters
CertificateStoreApiCertificateStoreRemoveCertificatePost /CertificateStores/Certificates/RemoveConfigures a management job to remove a certificate from one or more stores with the provided schedule
CertificateStoreApiCertificateStoreSchedulePost /CertificateStores/ScheduleCreates an inventory schedule for the provided certificate stores
CertificateStoreApiCertificateStoreScheduleForReenrollmentPost /CertificateStores/ReenrollmentSchedules a certificate store for reenrollment
CertificateStoreApiCertificateStoreSetPasswordPut /CertificateStores/PasswordSets a password for the requested certificate store
CertificateStoreApiCertificateStoreUpdateCertStorePut /CertificateStoresUpdates a given certificate store with the properties of the provided instance
CertificateStoreApiCertificateStoreUpdateCertificateStoreServerPut /CertificateStores/ServerUpdates a given certificate store server with the properties of the provided instance
CertificateStoreContainerApiCertificateStoreContainerDeleteCertificateStoreContainersDelete /CertificateStoreContainers/{id}Delete a certificate store container
CertificateStoreContainerApiCertificateStoreContainerGetAllCertificateStoreContainersGet /CertificateStoreContainersReturns all certificate store container according to the provided filter and output parameters
CertificateStoreTypeApiCertificateStoreTypeCreateCertificateStoreTypePost /CertificateStoreTypesCreates a new certificate store type with the provided properties
CertificateStoreTypeApiCertificateStoreTypeDeleteCertificateStoreTypeDelete /CertificateStoreTypes/{id}Deletes a certificate store type according to the provided identifier
CertificateStoreTypeApiCertificateStoreTypeDeleteCertificateStoreTypesDelete /CertificateStoreTypesDeletes certificate store types according to the provided identifiers
CertificateStoreTypeApiCertificateStoreTypeGetCertificateStoreType0Get /CertificateStoreTypes/{id}Returns a single certificate store type that matches id
CertificateStoreTypeApiCertificateStoreTypeGetCertificateStoreType1Get /CertificateStoreTypes/Name/{name}Returns a single certificate store type that matches the provided short name
CertificateStoreTypeApiCertificateStoreTypeGetTypesGet /CertificateStoreTypesReturns all certificate store types according to the provided filter and output parameters
CertificateStoreTypeApiCertificateStoreTypeUpdateCertificateStoreTypePut /CertificateStoreTypesUpdates an existing certificate store type with the provided properties
CustomJobTypeApiCustomJobTypeCreateJobTypePost /JobTypes/CustomCreates a custom job type with the provided properties
CustomJobTypeApiCustomJobTypeDeleteJobTypeDelete /JobTypes/Custom/{id}Deletes the custom job type associated with the provided id
CustomJobTypeApiCustomJobTypeGetJobTypeByIdGet /JobTypes/Custom/{id}Returns a single custom job type associated with the provided id
CustomJobTypeApiCustomJobTypeGetJobTypesGet /JobTypes/CustomReturns all custom job types according to the provided filter and output parameters
CustomJobTypeApiCustomJobTypeUpdateJobTypePut /JobTypes/CustomUpdates an existing custom job type with the provided properties
DeniedAlertApiDeniedAlertAddDeniedAlertPost /Alerts/DeniedAdd a denied alert
DeniedAlertApiDeniedAlertDeleteDeniedAlertDelete /Alerts/Denied/{id}Delete a denied alert
DeniedAlertApiDeniedAlertEditDeniedAlertPut /Alerts/DeniedEdit a denied alert
DeniedAlertApiDeniedAlertGetDeniedAlertGet /Alerts/Denied/{id}Get a denied alert
DeniedAlertApiDeniedAlertGetDeniedAlertsGet /Alerts/DeniedGets all denied alerts according to the provided filter and output parameters
EnrollmentApiEnrollmentAddToExistingCertStoresPost /Enrollment/PFX/ReplaceCreates management jobs to install a newly enrolled pfx into the same certificate stores as the previous certificate
EnrollmentApiEnrollmentAvailableRenewalIdGet /Enrollment/AvailableRenewal/Id/{id}Returns the type of renewal available for a given certificate.
EnrollmentApiEnrollmentAvailableRenewalThumbprintGet /Enrollment/AvailableRenewal/Thumbprint/{thumbprint}Returns the type of renewal available for a given certificate.
EnrollmentApiEnrollmentGetMyCSRContextGet /Enrollment/CSR/Context/MyReturns the list of available CSR enrollment templates and their associated CA mappings that the calling user has permissions on
EnrollmentApiEnrollmentGetMyPFXContextGet /Enrollment/PFX/Context/MyReturns the list of available PFX enrollment templates and their associated CA mappings that the calling user has permissions on
EnrollmentApiEnrollmentGetTemplateEnrollmentSettingsGet /Enrollment/Settings/{id}Gets the template settings to use during enrollment. The response will be the resolved values for the settings. If there is a template specific setting, the template specific setting will be used in the response. If there is not a template specific setting, the global setting will be used in the response.
EnrollmentApiEnrollmentInstallPFXToCertStorePost /Enrollment/PFX/DeployCreates management jobs to install a newly enrolled pfx in to one or more certificate stores
EnrollmentApiEnrollmentPostCSREnrollPost /Enrollment/CSRPerforms a CSR Enrollment based upon the provided request
EnrollmentApiEnrollmentPostPFXEnrollPost /Enrollment/PFXPerforms a PFX Enrollment based upon the provided request
EnrollmentApiEnrollmentPostParsedCSRPost /Enrollment/CSR/ParseParses the provided CSR and returns the properties
EnrollmentApiEnrollmentRenewPost /Enrollment/RenewPerforms a renewal based upon the passed in request
ExpirationAlertApiExpirationAlertAddExpirationAlertPost /Alerts/ExpirationAdd an expiration alert
ExpirationAlertApiExpirationAlertDeleteExpirationAlertDelete /Alerts/Expiration/{id}Delete an expiration alert
ExpirationAlertApiExpirationAlertEditExpirationAlertPut /Alerts/ExpirationEdit an expiration alert
ExpirationAlertApiExpirationAlertEditSchedulePut /Alerts/Expiration/ScheduleEdit schedule
ExpirationAlertApiExpirationAlertGetExpirationAlertGet /Alerts/Expiration/{id}Get an expiration alert
ExpirationAlertApiExpirationAlertGetExpirationAlertsGet /Alerts/ExpirationGets all expiration alerts according to the provided filter and output parameters
ExpirationAlertApiExpirationAlertGetScheduleGet /Alerts/Expiration/ScheduleGet the schedule for expiration alerts
ExpirationAlertApiExpirationAlertTestAllExpirationAlertPost /Alerts/Expiration/TestAllTest All Expiration Alerts
ExpirationAlertApiExpirationAlertTestExpirationAlertPost /Alerts/Expiration/TestTest an Expiration Alert
IssuedAlertApiIssuedAlertAddIssuedAlertPost /Alerts/IssuedAdd a issued alert
IssuedAlertApiIssuedAlertDeleteIssuedAlertDelete /Alerts/Issued/{id}Delete a issued alert
IssuedAlertApiIssuedAlertEditIssuedAlertPut /Alerts/IssuedEdit a issued alert
IssuedAlertApiIssuedAlertEditSchedulePut /Alerts/Issued/ScheduleEdit schedule
IssuedAlertApiIssuedAlertGetIssuedAlertGet /Alerts/Issued/{id}Get a issued alert
IssuedAlertApiIssuedAlertGetIssuedAlertsGet /Alerts/IssuedGets all issued alerts according to the provided filter and output parameters
IssuedAlertApiIssuedAlertGetScheduleGet /Alerts/Issued/ScheduleGet the schedule for issued alerts
KeyApiKeyDeleteUnmanagedKeyDelete /SSH/Keys/Unmanaged/{id}Deletes Unmanaged Key associated with the provided identifier
KeyApiKeyDeleteUnmanagedKeysDelete /SSH/Keys/UnmanagedDeletes Unmanaged Keys associated with the provided identifiers
KeyApiKeyGenerateKeyPost /SSH/Keys/MyKeyGenerates an SSH Key Pair for the requesting user.
KeyApiKeyGetMyKeyGet /SSH/Keys/MyKeyReturns the current key of the requesting user
KeyApiKeyGetUnmanagedKeyGet /SSH/Keys/Unmanaged/{id}Returns an unmanaged SSH key with provided id.
KeyApiKeyGetUnmanagedKeysGet /SSH/Keys/UnmanagedReturns Unmanaged SSH keys
KeyApiKeyUpdatePut /SSH/Keys/MyKeyUpdates the requesting user's SSH key
KeyRotationAlertApiKeyRotationAlertAddKeyRotationAlertPost /Alerts/KeyRotationAdd a key rotation alert
KeyRotationAlertApiKeyRotationAlertDeleteKeyRotationAlertDelete /Alerts/KeyRotation/{id}Delete a key rotation alert
KeyRotationAlertApiKeyRotationAlertEditKeyRotationAlertPut /Alerts/KeyRotationEdit a key rotation alert
KeyRotationAlertApiKeyRotationAlertEditSchedulePut /Alerts/KeyRotation/ScheduleEdit schedule
KeyRotationAlertApiKeyRotationAlertGetKeyRotationAlertGet /Alerts/KeyRotation/{id}Get a key rotation alert
KeyRotationAlertApiKeyRotationAlertGetKeyRotationAlertsGet /Alerts/KeyRotationGets all key rotation alerts according to the provided filter and output parameters
KeyRotationAlertApiKeyRotationAlertGetScheduleGet /Alerts/KeyRotation/ScheduleGet the schedule for key rotation alerts
KeyRotationAlertApiKeyRotationAlertTestAllKeyRotationAlertPost /Alerts/KeyRotation/TestAllTest All Alerts
KeyRotationAlertApiKeyRotationAlertTestKeyRotationAlertPost /Alerts/KeyRotation/TestTest An Alert
LicenseApiLicenseGetCurrentLicenseGet /LicenseGets the current license
LogonApiLogonCreateLogonPost /SSH/LogonsCreates a logon with the provided properties
LogonApiLogonDeleteDelete /SSH/Logons/{id}Deletes a Logon associated with the provided identifier
LogonApiLogonGetLogonGet /SSH/Logons/{id}Fetches a Logon associated with the provided identifier
LogonApiLogonLogonAccessPost /SSH/Logons/AccessUpdates the users with access to an existing logon
LogonApiLogonQueryLogonsGet /SSH/LogonsReturns all Logons according to the provided filter parameters
MacEnrollmentApiMacEnrollmentEditMacEnrollmentPut /MacEnrollmentUpdates mac enrollment settings data
MacEnrollmentApiMacEnrollmentMacEnrollmentGet /MacEnrollmentGets mac enrollment settings data
MetadataFieldApiMetadataFieldCreateMetadataFieldPost /MetadataFieldsCreates a new metadata field type with the given metadata field type properties
MetadataFieldApiMetadataFieldDeleteMetadataFieldDelete /MetadataFields/{id}Deletes a persisted metadata field type by its unique id
MetadataFieldApiMetadataFieldDeleteMetadataFieldsDelete /MetadataFieldsDeletes multiple persisted metadata field types by their unique ids
MetadataFieldApiMetadataFieldGetAllMetadataFieldsGet /MetadataFieldsReturns all metadata field types according to the provided filter and output parameters
MetadataFieldApiMetadataFieldGetMetadataField0Get /MetadataFields/{id}Gets a persisted metadata field type by its unique id
MetadataFieldApiMetadataFieldGetMetadataField1Get /MetadataFields/{name}Gets a persisted metadata field type by its unique name
MetadataFieldApiMetadataFieldGetMetadataFieldInUseGet /MetadataFields/{id}/InUseDetermines if a metadata field type associated with the provided identifier is currently in use
MetadataFieldApiMetadataFieldUpdateMetadataFieldPut /MetadataFieldsUpdates a persisted metadata field with the given metadata field type
MonitoringApiMonitoringAddRevocationMonitoringPost /Monitoring/RevocationAdd a revocation monitoring endpoint
MonitoringApiMonitoringDeleteRevocationMonitoringDelete /Monitoring/Revocation/{id}Delete a revocation monitoring endpoint
MonitoringApiMonitoringEditRevocationMonitoringPut /Monitoring/RevocationEdit a revocation monitoring endpoint
MonitoringApiMonitoringGetRevocationMonitoringGet /Monitoring/Revocation/{id}Get a revocation monitoring endpoint
MonitoringApiMonitoringGetRevocationMonitoringEndpointsGet /Monitoring/RevocationGets all revocation monitoring endpoints according to the provided filter and output parameters
MonitoringApiMonitoringResolveOCSPPost /Monitoring/ResolveOCSPResolve the Certificate authority given
MonitoringApiMonitoringTestAllRevocationMonitoringAlertPost /Monitoring/Revocation/TestAllTest All Alerts
MonitoringApiMonitoringTestRevocationMonitoringAlertPost /Monitoring/Revocation/TestTest Alert
OrchestratorJobApiOrchestratorJobAcknowledgeJobsPost /OrchestratorJobs/AcknowledgeAcknowledges orchestrator jobs based on the provided information
OrchestratorJobApiOrchestratorJobGetCustomJobResultDataGet /OrchestratorJobs/JobStatus/DataRetrieves the results of a custom job using the provided information
OrchestratorJobApiOrchestratorJobGetJobHistoryGet /OrchestratorJobs/JobHistoryReturns all histories of an orchestrator job according to the provided filter and output parameters
OrchestratorJobApiOrchestratorJobGetScheduledJobsGet /OrchestratorJobs/ScheduledJobsReturns all scheduled orchestrator jobs according to the provided filter and output parameters
OrchestratorJobApiOrchestratorJobRescheduleJobsPost /OrchestratorJobs/RescheduleReschedules orchestrator jobs based on the provided information
OrchestratorJobApiOrchestratorJobScheduleBulkJobPost /OrchestratorJobs/Custom/BulkSchedules the same job for a custom JobType on the specified agents using the provided information
OrchestratorJobApiOrchestratorJobScheduleJobPost /OrchestratorJobs/CustomSchedules a job for a custom JobType on the agent using the provided information
OrchestratorJobApiOrchestratorJobUnscheduleJobsPost /OrchestratorJobs/UnscheduleUnschedules orchestrator jobs based on the provided information
PAMProviderApiPAMProviderCreatePamProviderPost /PamProvidersCreates a new PAM provider with the associated properties
PAMProviderApiPAMProviderCreatePamProviderTypePost /PamProviders/TypesCreates a new PAM provider type with the associated properties
PAMProviderApiPAMProviderDeletePamProviderDelete /PamProviders/{id}Deletes a PAM Provider
PAMProviderApiPAMProviderGetPamProviderGet /PamProviders/{id}Returns a single PAM Provider that matches the associated id
PAMProviderApiPAMProviderGetPamProviderTypesGet /PamProviders/TypesReturns all PAM providers in the Keyfactor instance
PAMProviderApiPAMProviderGetPamProvidersGet /PamProvidersReturns all PAM providers according to the provided filter and output parameters
PAMProviderApiPAMProviderUpdatePamProviderPut /PamProvidersUpdates an existing PAM provider according to the provided properties
PendingAlertApiPendingAlertAddPendingAlertPost /Alerts/PendingAdd a pending alert
PendingAlertApiPendingAlertDeletePendingAlertDelete /Alerts/Pending/{id}Delete a pending alert
PendingAlertApiPendingAlertEditPendingAlertPut /Alerts/PendingEdit a pending alert
PendingAlertApiPendingAlertEditSchedulePut /Alerts/Pending/ScheduleEdit schedule
PendingAlertApiPendingAlertGetPendingAlertGet /Alerts/Pending/{id}Get a pending alert
PendingAlertApiPendingAlertGetPendingAlertsGet /Alerts/PendingGets all pending alerts according to the provided filter and output parameters
PendingAlertApiPendingAlertGetScheduleGet /Alerts/Pending/ScheduleGet the schedule for pending alerts
PendingAlertApiPendingAlertTestAllPendingAlertPost /Alerts/Pending/TestAllTest all pending alerts. Will send alert emails if SendAlerts is true
PendingAlertApiPendingAlertTestPendingAlertPost /Alerts/Pending/TestTest pending alert. Will send alert emails if SendAlerts is true
ReportsApiReportsCreateCustomReportPost /Reports/CustomCreates a custom report
ReportsApiReportsCreateReportSchedulePost /Reports/{id}/SchedulesCreate a built-in report's schedule that matches the id of the report.
ReportsApiReportsDeleteReportDelete /Reports/Custom/{id}Delete custom report that matches the id
ReportsApiReportsDeleteReportScheduleDelete /Reports/Schedules/{id}Delete a built-in report's schedule that matches the id of the schedule.
ReportsApiReportsGetCustomReportGet /Reports/Custom/{id}Returns a single custom report that matches the id
ReportsApiReportsGetReportGet /Reports/{id}Returns a single built-in report that matches the id
ReportsApiReportsGetReportParametersGet /Reports/{id}/ParametersGet a built-in report's parameters that matches the id of the report.
ReportsApiReportsGetReportScheduleGet /Reports/Schedules/{id}Get a built-in report's schedule that matches the id of the schedule.
ReportsApiReportsGetReportSchedulesGet /Reports/{id}/SchedulesGet a built-in report's schedules that matches the id of the report.
ReportsApiReportsQueryCustomReportsGet /Reports/CustomReturns all custom reports according to the provided filter and output parameters
ReportsApiReportsQueryReportsGet /ReportsReturns all built-in reports according to the provided filter and output parameters
ReportsApiReportsUpdateCustomReportPut /Reports/CustomUpdates a custom report that matches the id
ReportsApiReportsUpdateReportPut /ReportsUpdates a single built-in report that matches the id. Only some fields can be updated.
ReportsApiReportsUpdateReportParametersPut /Reports/{id}/ParametersUpdate a built-in report's parameters that matches the id of the report.
ReportsApiReportsUpdateReportSchedulePut /Reports/{id}/SchedulesUpdate a built-in report's schedule that matches the id of the report.
SMTPApiSMTPSMTPGet /SMTPGets SMTP profile data
SMTPApiSMTPTestSMTPPost /SMTP/TestTests SMTP profile data
SMTPApiSMTPUpdateSMTPPut /SMTPUpdates SMTP profile data
SecurityApiSecurityDeleteSecurityIdentityDelete /Security/Identities/{id}Deletes the security identity whose ID is provided.
SecurityApiSecurityIdentityPermissionsGet /Security/Identities/{id}Gets an object representing the permissions of the identity associated with the provided identifier.
SecurityApiSecurityLookupIdentityGet /Security/Identities/LookupValidates that the identity with the name given exists.
SecurityRolePermissionsApiSecurityRolePermissionsAddCollectionPermissionsPost /Security/Roles/{id}/Permissions/CollectionsAdds collection permissions to the security role that matches the id.
SecurityRolePermissionsApiSecurityRolePermissionsAddContainerPermissionsPost /Security/Roles/{id}/Permissions/ContainersAdds container permissions to the security role that matches the id.
SecurityRolePermissionsApiSecurityRolePermissionsAddGlobalPermissionsPost /Security/Roles/{id}/Permissions/GlobalAdds global permissions to the security role that matches the id.
SecurityRolePermissionsApiSecurityRolePermissionsGetCollectionPermissionsForRoleGet /Security/Roles/{id}/Permissions/CollectionsReturns all collection permissions associated with the security role that matches the id.
SecurityRolePermissionsApiSecurityRolePermissionsGetContainerPermissionsForRoleGet /Security/Roles/{id}/Permissions/ContainersReturns all container permissions associated with the security role that matches the id.
SecurityRolePermissionsApiSecurityRolePermissionsGetGlobalPermissionsForRoleGet /Security/Roles/{id}/Permissions/GlobalReturns all global permissions associated with the security role that matches the id.
SecurityRolePermissionsApiSecurityRolePermissionsGetPermissionsForRoleGet /Security/Roles/{id}/PermissionsReturns all permissions associated with the security role that matches the id.
SecurityRolePermissionsApiSecurityRolePermissionsSetCollectionPermissionsPut /Security/Roles/{id}/Permissions/CollectionsSets collection permissions to the security role that matches the id.
SecurityRolePermissionsApiSecurityRolePermissionsSetContainerPermissionsPut /Security/Roles/{id}/Permissions/ContainersSets container permissions to the security role that matches the id.
SecurityRolePermissionsApiSecurityRolePermissionsSetGlobalPermissionsPut /Security/Roles/{id}/Permissions/GlobalAdds global permissions to the security role that matches the id.
SecurityRolesApiSecurityRolesDeleteSecurityRoleDelete /Security/Roles/{id}Deletes the security role whose ID is provided.
SecurityRolesApiSecurityRolesGetIdentitiesWithRoleGet /Security/Roles/{id}/IdentitiesReturns all identities which have the security role that matches the id.
SecurityRolesApiSecurityRolesGetSecurityRoleGet /Security/Roles/{id}Returns a single security role that matches the id.
SecurityRolesApiSecurityRolesUpdateIdentitiesWithRolePut /Security/Roles/{id}/IdentitiesUpdates the identities which have the security role that matches the id.
ServerApiServerAddAccessPost /SSH/Servers/AccessUpdates logons and users with access to those logons for an existing server
ServerApiServerCreateServerPost /SSH/ServersCreates a server with the provided properties
ServerApiServerDeleteDelete /SSH/Servers/{id}Deletes a Server associated with the provided identifier
ServerApiServerGetGet /SSH/Servers/{id}Returns a Server associated with the provided identifier
ServerApiServerGetAccessGet /SSH/Servers/Access/{id}Retrieves logons and users with access to those logons for an existing server
ServerApiServerQueryServersGet /SSH/ServersReturns all servers according to the provided filter parameters
ServerApiServerRemoveAccessDelete /SSH/Servers/AccessUpdates logons and users with access to those logons for an existing server
ServerApiServerUpdateServerPut /SSH/ServersUpdates an existing server with the provided properties
ServerGroupApiServerGroupAddAccessPost /SSH/ServerGroups/AccessAdd access rules to the server group
ServerGroupApiServerGroupCreateServerGroupPost /SSH/ServerGroupsCreates a server group with the provided properties
ServerGroupApiServerGroupDeleteDelete /SSH/ServerGroups/{id}Deletes a ServerGroup associated with the provided identifier
ServerGroupApiServerGroupGetAccessGet /SSH/ServerGroups/Access/{id}Retrieves logons and users with access to those logons for an existing server group
ServerGroupApiServerGroupGetGroupGet /SSH/ServerGroups/{id}Returns a ServerGroup associated with the provided identifier
ServerGroupApiServerGroupGetGroupByNameGet /SSH/ServerGroups/{name}Returns a ServerGroup associated with the provided identifier
ServerGroupApiServerGroupQueryServerGroupsGet /SSH/ServerGroupsReturns all server groups according to the provided filter parameters
ServerGroupApiServerGroupRemoveAccessDelete /SSH/ServerGroups/AccessRemoves access mappings for the specified server group
ServerGroupApiServerGroupUpdateServerGroupPut /SSH/ServerGroupsUpdates an existing server group with the provided properties
ServiceAccountApiServiceAccountCreateServiceAccountPost /SSH/ServiceAccountsCreates a ServiceAccount with the provided properties
ServiceAccountApiServiceAccountDeleteServiceAccountDelete /SSH/ServiceAccounts/{id}Deletes a ServiceAccount associated with the provided identifier
ServiceAccountApiServiceAccountDeleteServiceAccountsDelete /SSH/ServiceAccountsDeletes Service Accounts associated with the provided identifiers
ServiceAccountApiServiceAccountGetGet /SSH/ServiceAccounts/{id}Returns a ServiceAccount associated with the provided identifier
ServiceAccountApiServiceAccountGetServiceAccountKeyGet /SSH/ServiceAccounts/Key/{id}Returns an SSH key with or without private key based on the provided parameters.
ServiceAccountApiServiceAccountQueryServiceAccountsGet /SSH/ServiceAccountsReturns all ServiceAccounts according to the provided filter parameters
ServiceAccountApiServiceAccountRotateServiceAccountKeyPost /SSH/ServiceAccounts/Rotate/{id}Rotate an SSH key for a specified service account.
ServiceAccountApiServiceAccountUpdateServiceAccountPut /SSH/ServiceAccountsUpdates an SSH key for a specified service account.
SslApiSslAddNetworkRangesPost /SSL/NetworkRangesAdds the provided network range definitions to the associated network definition
SslApiSslCreateNetworkPost /SSL/NetworksCreates a network definition according to the provided properties
SslApiSslEndpointGet /SSL/Endpoints/{id}Returns the details of the associated scanning endpoint
SslApiSslEndpointHistoryGet /SSL/Endpoints/{id}/HistoryReturns a list of the scan results for the provided endpoint according to the provided filter and output parameters
SslApiSslGetNetworkGet /SSL/Networks/{identifier}Returns a defined SSL network according to the provided name
SslApiSslGetNetworkRangesForNetworkGet /SSL/NetworkRanges/{id}Returns the network range definitions for the provided network definition
SslApiSslGetNetworksGet /SSL/NetworksReturns all defined SSL networks according to the provided filter and output parameters
SslApiSslImmediateSslScanPost /SSL/Networks/{id}/ScanStarts an SSL Scan for the network according to the associated network definition
SslApiSslMonitorAllPut /SSL/Endpoints/MonitorAllSets all endpoints matching the provided query as 'monitored'
SslApiSslMonitoringStatusPut /SSL/Endpoints/MonitorStatusSets the monitored status according to the provided endpoint and boolean status
SslApiSslNetworkScanPartsGet /SSL/Networks/{id}/PartsReturns the scan job components comprising the entire scan job to be executed
SslApiSslRemoveAllNetworkRangesDelete /SSL/NetworkRanges/{id}Removes all network range definitions from the associated network definition
SslApiSslRemoveNetworkDelete /SSL/Networks/{id}Removes a network definition according to the provided identifier
SslApiSslResultsGet /SSLReturns a list of the endpoint scan results according to the provided filter and output parameters
SslApiSslReviewAllPut /SSL/Endpoints/ReviewAllSets all endpoints matching the provided query as 'reviewed'
SslApiSslReviewedStatusPut /SSL/Endpoints/ReviewStatusSets the reviewed status according to the provided endpoint and boolean status
SslApiSslScanPartGet /SSL/Parts/{id}Returns the execution details of the associated network scan job part
SslApiSslSetNetworkRangesPut /SSL/NetworkRangesConfigures network range definitions for the provided network
SslApiSslUpdateNetworkPut /SSL/NetworksUpdates an existing network definition according to the provided properties
SslApiSslValidateNetworkRangesPost /SSL/NetworkRanges/ValidateValidates the format (using regular expressions) of the provided network range definitions
StatusApiStatusGetEndpointsGet /Status/EndpointsReturns all endpoints to which the requesting identity has access
TemplateApiTemplateGetGlobalSettingsGet /Templates/SettingsGets the global template settings.
TemplateApiTemplateGetTemplateGet /Templates/{id}Returns the certificate template associated with the provided id
TemplateApiTemplateGetTemplatesGet /TemplatesReturns all certificate templates according to the provided filter and output parameters
TemplateApiTemplateGetValidSubjectPartsGet /Templates/SubjectParts
TemplateApiTemplateImportPost /Templates/ImportImports templates from the provided configuration tenant
TemplateApiTemplateUpdateGlobalSettingsPut /Templates/SettingsReplaces the existing global template settings.
TemplateApiTemplateUpdateTemplatePut /TemplatesUpdates a certificate template according to the provided properties
UserApiUserCreateUserPost /SSH/UsersCreates a new SSH User.
UserApiUserDeleteUserDelete /SSH/Users/{id}Deletes an SSH user.
UserApiUserGetUserGet /SSH/Users/{id}Looks up information about an existing SSH user.
UserApiUserQueryUsersGet /SSH/UsersReturns users matching the criteria from the provided query parameters
UserApiUserUpdateUserPut /SSH/UsersUpdates information about a given user.
UserApiUserUserAccessPost /SSH/Users/AccessUpdates logon access for a user
WorkflowApiWorkflowApprovePendingRequestsPost /Workflow/Certificates/ApproveApproves pending certificate requests associated with the provided ids
WorkflowApiWorkflowDenyPendingRequestsPost /Workflow/Certificates/DenyDenies pending certificate requests associated with the provided ids
WorkflowApiWorkflowGetGet /Workflow/Certificates/PendingGets a collection of certificate requests based on the provided query.
WorkflowApiWorkflowGetCertificateRequestDetailsGet /Workflow/Certificates/{id}Returns certificate request details based on the provided ID.
WorkflowApiWorkflowGetDeniedGet /Workflow/Certificates/DeniedGets a collection of denied certificate requests based on the provided query.
WorkflowDefinitionApiWorkflowDefinitionConfigureDefinitionStepsPut /Workflow/Definitions/{definitionId}/StepsSets the provided steps on the latest version of the definition.
WorkflowDefinitionApiWorkflowDefinitionCreateNewDefinitionPost /Workflow/DefinitionsCreates a new base definition without any steps.
WorkflowDefinitionApiWorkflowDefinitionDeleteDelete /Workflow/Definitions/{definitionId}Deletes the definition matching the given Id.
WorkflowDefinitionApiWorkflowDefinitionGetGet /Workflow/Definitions/{definitionId}Gets a workflow definition.
WorkflowDefinitionApiWorkflowDefinitionGetStepSchemaGet /Workflow/Definitions/Steps/{extensionName}Gets the schema of a given step with the specified extension name.
WorkflowDefinitionApiWorkflowDefinitionPublishDefinitionPost /Workflow/Definitions/{definitionId}/PublishMakes the most recent version of a Workflow Definition the published version.
WorkflowDefinitionApiWorkflowDefinitionQueryGet /Workflow/DefinitionsGets the Definitions matching the query specifications.
WorkflowDefinitionApiWorkflowDefinitionQueryAvailableStepsGet /Workflow/Definitions/StepsGets the result set of available steps for a given query.
WorkflowDefinitionApiWorkflowDefinitionQueryWorkflowTypesGet /Workflow/Definitions/TypesPerforms a query against the workflow types in the system.
WorkflowDefinitionApiWorkflowDefinitionUpdateExistingDefinitionPut /Workflow/Definitions/{definitionId}Updates the existing definition's DisplayName and Description.
WorkflowInstanceApiWorkflowInstanceDeleteInstanceDelete /Workflow/Instances/{instanceId}Deletes the specified instance.
WorkflowInstanceApiWorkflowInstanceGetGet /Workflow/Instances/{instanceId}Get information relevant for knowing where an instance is in its workflow.
WorkflowInstanceApiWorkflowInstanceQueryGet /Workflow/InstancesGets the workflow instances matching the query specifications.
WorkflowInstanceApiWorkflowInstanceQueryInstancesAssignedToMeGet /Workflow/Instances/AssignedToMeGets the workflow instances waiting on the user.
WorkflowInstanceApiWorkflowInstanceQueryInstancesStartedByMeGet /Workflow/Instances/MyGets the workflow instances started by the user.
WorkflowInstanceApiWorkflowInstanceRestartPost /Workflow/Instances/{instanceId}/RestartRestarts a failed instance against the specified definition version or the published version if no version is specified.
WorkflowInstanceApiWorkflowInstanceSignalPost /Workflow/Instances/{instanceId}/SignalsReceives the given signal for the given instance.
WorkflowInstanceApiWorkflowInstanceStopPost /Workflow/Instances/{instanceId}/StopRejects an instance, preventing it from continuing.

Documentation For Models

Documentation for Utility Methods

Due to the fact that model structure members are all pointers, this package contains a number of utility functions to easily obtain pointers to values of basic types. Each of these functions takes a value of the given basic type and returns a pointer to it:

  • PtrBool
  • PtrInt
  • PtrInt32
  • PtrInt64
  • PtrFloat
  • PtrFloat32
  • PtrFloat64
  • PtrString
  • PtrTime

Author