Skip to content

akeylesslabs/akeyless-go

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
Sorry, we had to truncate this directory to 1,000 files. 120 entries were omitted from the list.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Go API client for akeyless

The purpose of this application is to provide access to Akeyless API.

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: 2.0
  • Package version: 4.3.0
  • Build package: org.openapitools.codegen.languages.GoClientCodegen For more information, please visit http://akeyless.io

To install this package, use:

go get github.com/akeylesslabs/akeyless-go/v4

Getting Started

Please follow the installation procedure and then run the following:

package main

import (
	"context"
	"errors"
	"fmt"
	"log"

	"github.com/akeylesslabs/akeyless-go/v4"
)

func main() {
	ctx := context.Background()
	client := akeyless.NewAPIClient(&akeyless.Configuration{
		Servers: []akeyless.ServerConfiguration{
			{
				// default: public API Gateway
				URL: "https://api.akeyless.io",

				// use port 8081 exposed by the deployment:
				// URL: "https://gateway.company.com:8081",

				// use port 8080 exposed by the deployment with /v2 prefix:
				// URL: "https://gateway.company.com:8080/v2",
			},
		},
	}).V2Api

	authBody := akeyless.NewAuthWithDefaults()
	authBody.AdminEmail = akeyless.PtrString("[email protected]")
	authBody.AdminPassword = akeyless.PtrString("strong-password")

	var apiErr akeyless.GenericOpenAPIError

	authOut, _, err := client.Auth(ctx).Body(*authBody).Execute()
	if err != nil {
		if errors.As(err, &apiErr) {
			log.Fatalln("authentication failed:", string(apiErr.Body()))
		}
		log.Fatalln("authentication failed:", err)
	}

	token := authOut.GetToken()

	csBody := akeyless.CreateSecret{
		Name:  "my-secret",
		Value: "some-value",
		Token: &token,
	}
	_, _, err = client.CreateSecret(ctx).Body(csBody).Execute()
	if err != nil {
		if errors.As(err, &apiErr) {
			log.Fatalln("can't create secret:", string(apiErr.Body()))
		}
		log.Fatalln("can't create secret:", err)
	}

	gsvBody := akeyless.GetSecretValue{
		Names: []string{"my-secret"},
		Token: &token,
	}
	gsvOut, _, err := client.GetSecretValue(ctx).Body(gsvBody).Execute()
	if err != nil {
		if errors.As(err, &apiErr) {
			log.Fatalln("can't get secret value:", string(apiErr.Body()))
		}
		log.Fatalln("can't get secret value:", err)
	}

	fmt.Println(gsvOut["my-secret"])
}

Documentation for API Endpoints

All URIs are relative to https://api.akeyless.io

Class Method HTTP request Description
V2Api AliasDetails Post /alias-details
V2Api AssocRoleAuthMethod Post /assoc-role-am
V2Api AssocTargetItem Post /assoc-target-item
V2Api Auth Post /auth
V2Api AuthMethodCreateApiKey Post /auth-method-create-api-key
V2Api AuthMethodCreateAwsIam Post /auth-method-create-aws-iam
V2Api AuthMethodCreateAzureAD Post /auth-method-create-azure-ad
V2Api AuthMethodCreateCert Post /auth-method-create-cert
V2Api AuthMethodCreateEmail Post /auth-method-create-email
V2Api AuthMethodCreateGcp Post /auth-method-create-gcp
V2Api AuthMethodCreateK8s Post /auth-method-create-k8s
V2Api AuthMethodCreateKerberos Post /auth-method-create-kerberos
V2Api AuthMethodCreateLdap Post /auth-method-create-ldap
V2Api AuthMethodCreateOCI Post /auth-method-create-oci
V2Api AuthMethodCreateOIDC Post /auth-method-create-oidc
V2Api AuthMethodCreateOauth2 Post /auth-method-create-oauth2
V2Api AuthMethodCreateSAML Post /auth-method-create-saml
V2Api AuthMethodCreateUniversalIdentity Post /auth-method-create-universal-identity
V2Api AuthMethodDelete Post /auth-method-delete
V2Api AuthMethodGet Post /auth-method-get
V2Api AuthMethodList Post /auth-method-list
V2Api AuthMethodUpdateApiKey Post /auth-method-update-api-key
V2Api AuthMethodUpdateAwsIam Post /auth-method-update-aws-iam
V2Api AuthMethodUpdateAzureAD Post /auth-method-update-azure-ad
V2Api AuthMethodUpdateCert Post /auth-method-update-cert
V2Api AuthMethodUpdateEmail Post /auth-method-update-email
V2Api AuthMethodUpdateGcp Post /auth-method-update-gcp
V2Api AuthMethodUpdateK8s Post /auth-method-update-k8s
V2Api AuthMethodUpdateKerberos Post /auth-method-update-kerberos
V2Api AuthMethodUpdateLdap Post /auth-method-update-ldap
V2Api AuthMethodUpdateOCI Post /auth-method-update-oci
V2Api AuthMethodUpdateOIDC Post /auth-method-update-oidc
V2Api AuthMethodUpdateOauth2 Post /auth-method-update-oauth2
V2Api AuthMethodUpdateSAML Post /auth-method-update-saml
V2Api AuthMethodUpdateUniversalIdentity Post /auth-method-update-universal-identity
V2Api ChangeAdminAccountPassword Post /change-admin-account-password
V2Api Configure Post /configure
V2Api Connect Post /connect
V2Api CreateAWSTarget Post /create-aws-target
V2Api CreateArtifactoryTarget Post /create-artifactory-target
V2Api CreateAuthMethod Post /create-auth-method
V2Api CreateAuthMethodAWSIAM Post /create-auth-method-aws-iam
V2Api CreateAuthMethodAzureAD Post /create-auth-method-azure-ad
V2Api CreateAuthMethodCert Post /create-auth-method-cert
V2Api CreateAuthMethodEmail Post /create-auth-method-email
V2Api CreateAuthMethodGCP Post /create-auth-method-gcp
V2Api CreateAuthMethodHuawei Post /create-auth-method-huawei
V2Api CreateAuthMethodK8S Post /create-auth-method-k8s
V2Api CreateAuthMethodLDAP Post /create-auth-method-ldap
V2Api CreateAuthMethodOAuth2 Post /create-auth-method-oauth2
V2Api CreateAuthMethodOCI Post /create-auth-method-oci
V2Api CreateAuthMethodOIDC Post /create-auth-method-oidc
V2Api CreateAuthMethodSAML Post /create-auth-method-saml
V2Api CreateAuthMethodUniversalIdentity Post /create-auth-method-universal-identity
V2Api CreateAzureTarget Post /create-azure-target
V2Api CreateCertificate Post /create-certificate
V2Api CreateClassicKey Post /create-classic-key
V2Api CreateDBTarget Post /create-db-target
V2Api CreateDFCKey Post /create-dfc-key
V2Api CreateDockerhubTarget Post /create-dockerhub-target
V2Api CreateDynamicSecret Post /create-dynamic-secret
V2Api CreateEKSTarget Post /create-eks-target
V2Api CreateESM Post /create-esm
V2Api CreateEventForwarder Post /create-event-forwarder
V2Api CreateGKETarget Post /create-gke-target
V2Api CreateGcpTarget Post /create-gcp-target
V2Api CreateGithubTarget Post /create-github-target
V2Api CreateGitlabTarget Post /create-gitlab-target
V2Api CreateGlobalSignAtlasTarget Post /create-globalsign-atlas-target
V2Api CreateGlobalSignTarget Post /create-globalsign-target
V2Api CreateGodaddyTarget Post /create-godaddy-target
V2Api CreateGroup Post /create-group
V2Api CreateHashiVaultTarget Post /create-hashi-vault-target
V2Api CreateKey Post /create-key
V2Api CreateLinkedTarget Post /create-linked-target
V2Api CreateNativeK8STarget Post /create-k8s-target
V2Api CreateOidcApp Post /create-oidc-app
V2Api CreatePKICertIssuer Post /create-pki-cert-issuer
V2Api CreatePasskey Post /create-passkey
V2Api CreatePingTarget Post /create-ping-target
V2Api CreateRabbitMQTarget Post /create-rabbitmq-target
V2Api CreateRole Post /create-role
V2Api CreateRotatedSecret Post /create-rotated-secret
V2Api CreateSSHCertIssuer Post /create-ssh-cert-issuer
V2Api CreateSSHTarget Post /create-ssh-target
V2Api CreateSalesforceTarget Post /create-salesforce-target
V2Api CreateSecret Post /create-secret
V2Api CreateTokenizer Post /create-tokenizer
V2Api CreateUSC Post /create-usc
V2Api CreateUserEvent Post /create-user-event
V2Api CreateWebTarget Post /create-web-target
V2Api CreateWindowsTarget Post /create-windows-target
V2Api CreateZeroSSLTarget Post /create-zerossl-target
V2Api CreateldapTarget Post /create-ldap-target
V2Api DeactivateAcmeAccount Post /deactivate-acme-account
V2Api Decrypt Post /decrypt
V2Api DecryptBatch Post /decrypt-batch
V2Api DecryptGPG Post /decrypt-gpg
V2Api DecryptPKCS1 Post /decrypt-pkcs1
V2Api DecryptWithClassicKey Post /decrypt-with-classic-key
V2Api DeleteAuthMethod Post /delete-auth-method
V2Api DeleteAuthMethods Post /delete-auth-methods
V2Api DeleteEventForwarder Post /delete-event-forwarder
V2Api DeleteGatewayAllowedAccessId Post /gateway-delete-allowed-management-access
V2Api DeleteGroup Post /delete-group
V2Api DeleteGwCluster Post /delete-gateway-cluster
V2Api DeleteItem Post /delete-item
V2Api DeleteItems Post /delete-items
V2Api DeleteRole Post /delete-role
V2Api DeleteRoleAssociation Post /delete-assoc
V2Api DeleteRoleRule Post /delete-role-rule
V2Api DeleteRoles Post /delete-roles
V2Api DeleteTarget Post /delete-target
V2Api DeleteTargetAssociation Post /delete-assoc-target-item
V2Api DeleteTargets Post /delete-targets
V2Api DeriveKey Post /derive-key
V2Api DescribeAssoc Post /describe-role-am-assoc
V2Api DescribeItem Post /describe-item
V2Api DescribePermissions Post /describe-permissions
V2Api DescribeSubClaims Post /describe-sub-claims
V2Api Detokenize Post /detokenize
V2Api DetokenizeBatch Post /detokenize-batch
V2Api DynamicSecretCreateArtifactory Post /dynamic-secret-create-artifactory
V2Api DynamicSecretCreateAws Post /dynamic-secret-create-aws
V2Api DynamicSecretCreateAzure Post /dynamic-secret-create-azure
V2Api DynamicSecretCreateCassandra Post /dynamic-secret-create-cassandra
V2Api DynamicSecretCreateCustom Post /dynamic-secret-create-custom
V2Api DynamicSecretCreateDockerhub Post /dynamic-secret-create-dockerhub
V2Api DynamicSecretCreateEks Post /dynamic-secret-create-eks
V2Api DynamicSecretCreateGcp Post /dynamic-secret-create-gcp
V2Api DynamicSecretCreateGithub Post /dynamic-secret-create-github
V2Api DynamicSecretCreateGitlab Post /dynamic-secret-create-gitlab
V2Api DynamicSecretCreateGke Post /dynamic-secret-create-gke
V2Api DynamicSecretCreateGoogleWorkspace Post /dynamic-secret-create-google-workspace
V2Api DynamicSecretCreateHanaDb Post /dynamic-secret-create-hanadb
V2Api DynamicSecretCreateK8s Post /dynamic-secret-create-k8s
V2Api DynamicSecretCreateLdap Post /dynamic-secret-create-ldap
V2Api DynamicSecretCreateMongoDb Post /dynamic-secret-create-mongo
V2Api DynamicSecretCreateMsSql Post /dynamic-secret-create-mssql
V2Api DynamicSecretCreateMySql Post /dynamic-secret-create-mysql
V2Api DynamicSecretCreateOracleDb Post /dynamic-secret-create-oracle
V2Api DynamicSecretCreatePing Post /dynamic-secret-create-ping
V2Api DynamicSecretCreatePostgreSql Post /dynamic-secret-create-postgresql
V2Api DynamicSecretCreateRabbitMq Post /dynamic-secret-create-rabbitmq
V2Api DynamicSecretCreateRdp Post /dynamic-secret-create-rdp
V2Api DynamicSecretCreateRedis Post /dynamic-secret-create-redis
V2Api DynamicSecretCreateRedshift Post /dynamic-secret-create-redshift
V2Api DynamicSecretCreateSnowflake Post /dynamic-secret-create-snowflake
V2Api DynamicSecretCreateVenafi Post /dynamic-secret-create-venafi
V2Api DynamicSecretDelete Post /dynamic-secret-delete
V2Api DynamicSecretGet Post /dynamic-secret-get
V2Api DynamicSecretGetValue Post /dynamic-secret-get-value
V2Api DynamicSecretList Post /dynamic-secret-list
V2Api DynamicSecretTmpCredsDelete Post /dynamic-secret-tmp-creds-delete
V2Api DynamicSecretTmpCredsGet Post /dynamic-secret-tmp-creds-Get
V2Api DynamicSecretTmpCredsUpdate Post /dynamic-secret-tmp-creds-update
V2Api DynamicSecretUpdateArtifactory Post /dynamic-secret-update-artifactory
V2Api DynamicSecretUpdateAws Post /dynamic-secret-update-aws
V2Api DynamicSecretUpdateAzure Post /dynamic-secret-update-azure
V2Api DynamicSecretUpdateCassandra Post /dynamic-secret-update-cassandra
V2Api DynamicSecretUpdateCustom Post /dynamic-secret-update-custom
V2Api DynamicSecretUpdateDockerhub Post /dynamic-secret-update-dockerhub
V2Api DynamicSecretUpdateEks Post /dynamic-secret-update-eks
V2Api DynamicSecretUpdateGcp Post /dynamic-secret-update-gcp
V2Api DynamicSecretUpdateGithub Post /dynamic-secret-update-github
V2Api DynamicSecretUpdateGitlab Post /dynamic-secret-update-gitlab
V2Api DynamicSecretUpdateGke Post /dynamic-secret-update-gke
V2Api DynamicSecretUpdateGoogleWorkspace Post /dynamic-secret-update-google-workspace
V2Api DynamicSecretUpdateHanaDb Post /dynamic-secret-update-hana
V2Api DynamicSecretUpdateK8s Post /dynamic-secret-update-k8s
V2Api DynamicSecretUpdateLdap Post /dynamic-secret-update-ldap
V2Api DynamicSecretUpdateMongoDb Post /dynamic-secret-update-mongo
V2Api DynamicSecretUpdateMsSql Post /dynamic-secret-update-mssql
V2Api DynamicSecretUpdateMySql Post /dynamic-secret-update-mysql
V2Api DynamicSecretUpdateOracleDb Post /dynamic-secret-update-oracle
V2Api DynamicSecretUpdatePing Post /dynamic-secret-update-ping
V2Api DynamicSecretUpdatePostgreSql Post /dynamic-secret-update-postgresql
V2Api DynamicSecretUpdateRabbitMq Post /dynamic-secret-update-rabbitmq
V2Api DynamicSecretUpdateRdp Post /dynamic-secret-update-rdp
V2Api DynamicSecretUpdateRedis Post /dynamic-secret-update-redis
V2Api DynamicSecretUpdateRedshift Post /dynamic-secret-update-redshift
V2Api DynamicSecretUpdateSnowflake Post /dynamic-secret-update-snowflake
V2Api DynamicSecretUpdateVenafi Post /dynamic-secret-update-venafi
V2Api Encrypt Post /encrypt
V2Api EncryptBatch Post /encrypt-batch
V2Api EncryptGPG Post /encrypt-gpg
V2Api EncryptWithClassicKey Post /encrypt-with-classic-key
V2Api EsmCreate Post /esm-create
V2Api EsmDelete Post /esm-delete
V2Api EsmGet Post /esm-get
V2Api EsmList Post /esm-list
V2Api EsmUpdate Post /esm-update
V2Api EventAction Post /event-action
V2Api EventForwarderCreateEmail Post /event-forwarder-create-email
V2Api EventForwarderCreateServiceNow Post /event-forwarder-create-servicenow
V2Api EventForwarderCreateSlack Post /event-forwarder-create-slack
V2Api EventForwarderCreateWebhook Post /event-forwarder-create-webhook
V2Api EventForwarderDelete Post /event-forwarder-delete
V2Api EventForwarderGet Post /event-forwarder-get
V2Api EventForwarderUpdateEmail Post /event-forwarder-update-email
V2Api EventForwarderUpdateServiceNow Post /event-forwarder-update-servicenow
V2Api EventForwarderUpdateSlack Post /event-forwarder-update-slack
V2Api EventForwarderUpdateWebhook Post /event-forwarder-update-webhook
V2Api ExportClassicKey Post /export-classic-key
V2Api GatewayCreateAllowedAccess Post /gateway-create-allowed-access
V2Api GatewayCreateK8SAuthConfig Post /gateway-create-k8s-auth-config
V2Api GatewayCreateMigration Post /gateway-create-migration
V2Api GatewayCreateProducerArtifactory Post /gateway-create-producer-artifactory
V2Api GatewayCreateProducerAws Post /gateway-create-producer-aws
V2Api GatewayCreateProducerAzure Post /gateway-create-producer-azure
V2Api GatewayCreateProducerCassandra Post /gateway-create-producer-cassandra
V2Api GatewayCreateProducerChef Post /gateway-create-producer-chef
V2Api GatewayCreateProducerCustom Post /gateway-create-producer-custom
V2Api GatewayCreateProducerDockerhub Post /gateway-create-producer-dockerhub
V2Api GatewayCreateProducerEks Post /gateway-create-producer-eks
V2Api GatewayCreateProducerGcp Post /gateway-create-producer-gcp
V2Api GatewayCreateProducerGithub Post /gateway-create-producer-github
V2Api GatewayCreateProducerGke Post /gateway-create-producer-gke
V2Api GatewayCreateProducerHanaDb Post /gateway-create-producer-hanadb
V2Api GatewayCreateProducerLdap Post /gateway-create-producer-ldap
V2Api GatewayCreateProducerMSSQL Post /gateway-create-producer-mssql
V2Api GatewayCreateProducerMongo Post /gateway-create-producer-mongo
V2Api GatewayCreateProducerMySQL Post /gateway-create-producer-mysql
V2Api GatewayCreateProducerNativeK8S Post /gateway-create-producer-k8s
V2Api GatewayCreateProducerOracleDb Post /gateway-create-producer-oracle
V2Api GatewayCreateProducerPing Post /gateway-create-producer-ping
V2Api GatewayCreateProducerPostgreSQL Post /gateway-create-producer-postgresql
V2Api GatewayCreateProducerRabbitMQ Post /gateway-create-producer-rabbitmq
V2Api GatewayCreateProducerRdp Post /gateway-create-producer-rdp
V2Api GatewayCreateProducerRedis Post /gateway-create-producer-Redis
V2Api GatewayCreateProducerRedshift Post /gateway-create-producer-redshift
V2Api GatewayCreateProducerSnowflake Post /gateway-create-producer-snowflake
V2Api GatewayCreateProducerVenafi Post /gateway-create-producer-certificate-automation
V2Api GatewayDeleteAllowedAccess Post /gateway-delete-allowed-access
V2Api GatewayDeleteK8SAuthConfig Post /gateway-delete-k8s-auth-config
V2Api GatewayDeleteMigration Post /gateway-delete-migration
V2Api GatewayDeleteProducer Post /gateway-delete-producer
V2Api GatewayDownloadCustomerFragments Post /gateway-download-customer-fragments
V2Api GatewayGetAllowedAccess Post /gateway-get-allowed-access
V2Api GatewayGetCache Post /gateway-get-cache
V2Api GatewayGetConfig Post /gateway-get-config
V2Api GatewayGetDefaults Post /gateway-get-defaults
V2Api GatewayGetK8SAuthConfig Post /gateway-get-k8s-auth-config
V2Api GatewayGetLdapAuthConfig Post /gateway-get-ldap-auth-config
V2Api GatewayGetLogForwarding Post /gateway-get-log-forwarding
V2Api GatewayGetMigration Post /gateway-get-migration
V2Api GatewayGetProducer Post /gateway-get-producer
V2Api GatewayGetRemoteAccess Post /gateway-get-remote-access
V2Api GatewayGetTmpUsers Post /gateway-get-producer-tmp-creds
V2Api GatewayListCustomerFragments Post /gateway-list-customer-fragments
V2Api GatewayListMigration Post /gateway-list-migration
V2Api GatewayListProducers Post /gateway-list-producers
V2Api GatewayListRotatedSecrets Post /gateway-list-rotated-secrets
V2Api GatewayMigratePersonalItems Post /gateway-migrate-personal-items
V2Api GatewayRevokeTmpUsers Post /gateway-revoke-producer-tmp-creds
V2Api GatewayStartProducer Post /gateway-start-producer
V2Api GatewayStatusMigration Post /gateway-migration-status
V2Api GatewayStopProducer Post /gateway-stop-producer
V2Api GatewaySyncMigration Post /gateway-sync-migration
V2Api GatewayUpdateAllowedAccess Post /gateway-update-allowed-access
V2Api GatewayUpdateCache Post /gateway-update-cache
V2Api GatewayUpdateDefaults Post /gateway-update-defaults
V2Api GatewayUpdateItem Post /gateway-update-item
V2Api GatewayUpdateK8SAuthConfig Post /gateway-update-k8s-auth-config
V2Api GatewayUpdateLdapAuthConfig Post /gateway-update-ldap-auth-config
V2Api GatewayUpdateLogForwardingAwsS3 Post /gateway-update-log-forwarding-aws-s3
V2Api GatewayUpdateLogForwardingAzureAnalytics Post /gateway-update-log-forwarding-azure-analytics
V2Api GatewayUpdateLogForwardingDatadog Post /gateway-update-log-forwarding-datadog
V2Api GatewayUpdateLogForwardingElasticsearch Post /gateway-update-log-forwarding-elasticsearch
V2Api GatewayUpdateLogForwardingGoogleChronicle Post /gateway-update-log-forwarding-google-chronicle
V2Api GatewayUpdateLogForwardingLogstash Post /gateway-update-log-forwarding-logstash
V2Api GatewayUpdateLogForwardingLogzIo Post /gateway-update-log-forwarding-logz-io
V2Api GatewayUpdateLogForwardingSplunk Post /gateway-update-log-forwarding-splunk
V2Api GatewayUpdateLogForwardingStdout Post /gateway-update-log-forwarding-stdout
V2Api GatewayUpdateLogForwardingSumologic Post /gateway-update-log-forwarding-sumologic
V2Api GatewayUpdateLogForwardingSyslog Post /gateway-update-log-forwarding-syslog
V2Api GatewayUpdateMigration Post /gateway-update-migration
V2Api GatewayUpdateProducerArtifactory Post /gateway-update-producer-artifactory
V2Api GatewayUpdateProducerAws Post /gateway-update-producer-aws
V2Api GatewayUpdateProducerAzure Post /gateway-update-producer-azure
V2Api GatewayUpdateProducerCassandra Post /gateway-update-producer-cassandra
V2Api GatewayUpdateProducerChef Post /gateway-update-producer-chef
V2Api GatewayUpdateProducerCustom Post /gateway-update-producer-custom
V2Api GatewayUpdateProducerDockerhub Post /gateway-update-producer-dockerhub
V2Api GatewayUpdateProducerEks Post /gateway-update-producer-eks
V2Api GatewayUpdateProducerGcp Post /gateway-update-producer-gcp
V2Api GatewayUpdateProducerGithub Post /gateway-update-producer-github
V2Api GatewayUpdateProducerGke Post /gateway-update-producer-gke
V2Api GatewayUpdateProducerHanaDb Post /gateway-update-producer-hana
V2Api GatewayUpdateProducerLdap Post /gateway-update-producer-ldap
V2Api GatewayUpdateProducerMSSQL Post /gateway-update-producer-mssql
V2Api GatewayUpdateProducerMongo Post /gateway-update-producer-mongo
V2Api GatewayUpdateProducerMySQL Post /gateway-update-producer-mysql
V2Api GatewayUpdateProducerNativeK8S Post /gateway-update-producer-k8s
V2Api GatewayUpdateProducerOracleDb Post /gateway-update-producer-oracle
V2Api GatewayUpdateProducerPing Post /gateway-update-producer-ping
V2Api GatewayUpdateProducerPostgreSQL Post /gateway-update-producer-postgresql
V2Api GatewayUpdateProducerRabbitMQ Post /gateway-update-producer-rabbitmq
V2Api GatewayUpdateProducerRdp Post /gateway-update-producer-rdp
V2Api GatewayUpdateProducerRedis Post /gateway-update-producer-redis
V2Api GatewayUpdateProducerRedshift Post /gateway-update-producer-redshift
V2Api GatewayUpdateProducerSnowflake Post /gateway-update-producer-snowflake
V2Api GatewayUpdateProducerVenafi Post /gateway-update-producer-certificate-automation
V2Api GatewayUpdateRemoteAccess Post /gateway-update-remote-access
V2Api GatewayUpdateRemoteAccessRdpRecordings Post /gateway-update-remote-access-rdp-recording
V2Api GatewayUpdateTlsCert Post /gateway-update-tls-cert
V2Api GatewayUpdateTmpUsers Post /gateway-update-producer-tmp-creds
V2Api GenerateAcmeEab Post /generate-acme-eab
V2Api GenerateCsr Post /generate-csr
V2Api GetAccountLogo Post /get-account-logo
V2Api GetAccountSettings Post /get-account-settings
V2Api GetAnalyticsData Post /get-analytics-data
V2Api GetAuthMethod Post /get-auth-method
V2Api GetCertificateValue Post /get-certificate-value
V2Api GetDynamicSecretValue Post /get-dynamic-secret-value
V2Api GetEventForwarder Post /get-event-forwarder
V2Api GetGroup Post /get-group
V2Api GetKubeExecCreds Post /get-kube-exec-creds
V2Api GetLastUserEventStatus Post /user-event-last-status
V2Api GetPKICertificate Post /get-pki-certificate
V2Api GetRSAPublic Post /get-rsa-public
V2Api GetRole Post /get-role
V2Api GetRotatedSecretValue Post /get-rotated-secret-value
V2Api GetSSHCertificate Post /get-ssh-certificate
V2Api GetSecretValue Post /get-secret-value
V2Api GetTags Post /get-tags
V2Api GetTarget Post /get-target
V2Api GetTargetDetails Post /get-target-details
V2Api GwUpdateRemoteAccessSessionLogsAwsS3 Post /gateway-update-remote-access-session-forwarding-aws-s3
V2Api GwUpdateRemoteAccessSessionLogsAzureAnalytics Post /gateway-update-remote-access-session-forwarding-azure-analytics
V2Api GwUpdateRemoteAccessSessionLogsDatadog Post /gateway-update-remote-access-session-forwarding-datadog
V2Api GwUpdateRemoteAccessSessionLogsElasticsearch Post /gateway-update-remote-access-session-forwarding-elasticsearch
V2Api GwUpdateRemoteAccessSessionLogsGoogleChronicle Post /gateway-update-remote-access-session-forwarding-google-chronicle
V2Api GwUpdateRemoteAccessSessionLogsLogstash Post /gateway-update-remote-access-session-forwarding-logstash
V2Api GwUpdateRemoteAccessSessionLogsLogzIo Post /gateway-update-remote-access-session-forwarding-logz-io
V2Api GwUpdateRemoteAccessSessionLogsSplunk Post /gateway-update-remote-access-session-forwarding-splunk
V2Api GwUpdateRemoteAccessSessionLogsStdout Post /gateway-update-remote-access-session-forwarding-stdout
V2Api GwUpdateRemoteAccessSessionLogsSumologic Post /gateway-update-remote-access-session-forwarding-sumologic
V2Api GwUpdateRemoteAccessSessionLogsSyslog Post /gateway-update-remote-access-session-forwarding-syslog
V2Api Hmac Post /hmac
V2Api ImportPasswords Post /import-passwords
V2Api KmipClientDeleteRule Post /kmip-client-delete-rule
V2Api KmipClientSetRule Post /kmip-client-set-rule
V2Api KmipCreateClient Post /kmip-create-client
V2Api KmipDeleteClient Post /kmip-delete-client
V2Api KmipDeleteServer Delete /kmip-delete-environment
V2Api KmipDescribeClient Post /kmip-get-client
V2Api KmipDescribeServer Post /kmip-get-environment
V2Api KmipListClients Post /kmip-list-clients
V2Api KmipMoveServer Post /kmip-move-environment
V2Api KmipRenewClientCertificate Post /kmip-renew-client
V2Api KmipRenewServerCertificate Post /kmip-renew-environment
V2Api KmipServerSetup Post /kmip-create-environment
V2Api KmipSetServerState Post /kmip-set-environment-state
V2Api KubeconfigGenerate Post /kubeconfig-generate
V2Api ListAcmeAccounts Post /list-acme-accounts
V2Api ListAuthMethods Post /list-auth-methods
V2Api ListGateways Post /list-gateways
V2Api ListGroups Post /list-group
V2Api ListItems Post /list-items
V2Api ListRoles Post /list-roles
V2Api ListSRABastions Post /list-sra-bastions
V2Api ListSRASessions Post /list-sra-sessions
V2Api ListSharedItems Post /list-shared-items
V2Api ListTargets Post /list-targets
V2Api MoveObjects Post /move-objects
V2Api ProvisionCertificate Post /provision-certificate
V2Api RawCreds Post /raw-creds
V2Api RefreshKey Post /refresh-key
V2Api RenewCertificate Post /renew-certificate
V2Api RequestAccess Post /request-access
V2Api ResetAccessKey Post /reset-access-key
V2Api ReverseRBAC Post /reverse-rbac
V2Api RevokeCertificate Post /revoke-certificate
V2Api RevokeCreds Post /revoke-creds
V2Api RollbackSecret Post /rollback-secret
V2Api RotateKey Post /rotate-key
V2Api RotateOidcClientSecret Post /rotate-oidc-client-secret
V2Api RotateSecret Post /gateway-rotate-secret
V2Api RotatedSecretCreateAws Post /rotated-secret-create-aws
V2Api RotatedSecretCreateAzure Post /rotated-secret-create-azure
V2Api RotatedSecretCreateCassandra Post /rotated-secret-create-cassandra
V2Api RotatedSecretCreateCustom Post /rotated-secret-create-custom
V2Api RotatedSecretCreateDockerhub Post /rotated-secret-create-dockerhub
V2Api RotatedSecretCreateGcp Post /rotated-secret-create-gcp
V2Api RotatedSecretCreateHanadb Post /rotated-secret-create-hanadb
V2Api RotatedSecretCreateLdap Post /rotated-secret-create-ldap
V2Api RotatedSecretCreateMongodb Post /rotated-secret-create-mongodb
V2Api RotatedSecretCreateMssql Post /rotated-secret-create-mssql
V2Api RotatedSecretCreateMysql Post /rotated-secret-create-mysql
V2Api RotatedSecretCreateOracledb Post /rotated-secret-create-oracledb
V2Api RotatedSecretCreatePostgresql Post /rotated-secret-create-postgresql
V2Api RotatedSecretCreateRedis Post /rotated-secret-create-redis
V2Api RotatedSecretCreateRedshift Post /rotated-secret-create-redshift
V2Api RotatedSecretCreateSnowflake Post /rotated-secret-create-snowflake
V2Api RotatedSecretCreateSsh Post /rotated-secret-create-ssh
V2Api RotatedSecretCreateWindows Post /rotated-secret-create-windows
V2Api RotatedSecretGetValue Post /rotated-secret-get-value
V2Api RotatedSecretList Post /rotated-secret-list
V2Api RotatedSecretUpdateAws Post /rotated-secret-update-aws
V2Api RotatedSecretUpdateAzure Post /rotated-secret-update-azure
V2Api RotatedSecretUpdateCassandra Post /rotated-secret-update-cassandra
V2Api RotatedSecretUpdateCustom Post /rotated-secret-update-custom
V2Api RotatedSecretUpdateDockerhub Post /rotated-secret-update-dockerhub
V2Api RotatedSecretUpdateGcp Post /rotated-secret-update-gcp
V2Api RotatedSecretUpdateHanadb Post /rotated-secret-update-hanadb
V2Api RotatedSecretUpdateLdap Post /rotated-secret-update-ldap
V2Api RotatedSecretUpdateMongodb Post /rotated-secret-update-mongodb
V2Api RotatedSecretUpdateMssql Post /rotated-secret-update-mssql
V2Api RotatedSecretUpdateMysql Post /rotated-secret-update-mysql
V2Api RotatedSecretUpdateOracledb Post /rotated-secret-update-oracledb
V2Api RotatedSecretUpdatePostgresql Post /rotated-secret-update-postgresql
V2Api RotatedSecretUpdateRedis Post /rotated-secret-update-redis
V2Api RotatedSecretUpdateRedshift Post /rotated-secret-update-redshift
V2Api RotatedSecretUpdateSnowflake Post /rotated-secret-update-snowflake
V2Api RotatedSecretUpdateSsh Post /rotated-secret-update-ssh
V2Api RotatedSecretUpdateWindows Post /rotated-secret-update-windows
V2Api SetItemState Post /set-item-state
V2Api SetRoleRule Post /set-role-rule
V2Api ShareItem Post /share-item
V2Api SignDataWithClassicKey Post /sign-data-with-classic-key
V2Api SignEcDsa Post /sign-ecdsa
V2Api SignGPG Post /sign-gpg
V2Api SignJWTWithClassicKey Post /sign-jwt-with-classic-key
V2Api SignPKCS1 Post /sign-pkcs1
V2Api SignPKICertWithClassicKey Post /sign-pki-cert-with-classic-key
V2Api SignRsaSsaPss Post /sign-rsassa-pss
V2Api StaticCredsAuth Post /static-creds-auth
V2Api TargetCreateArtifactory Post /target-create-artifactory
V2Api TargetCreateAws Post /target-create-aws
V2Api TargetCreateAzure Post /target-create-azure
V2Api TargetCreateDB Post /target-create-db
V2Api TargetCreateDockerhub Post /target-create-dockerhub
V2Api TargetCreateEks Post /target-create-eks
V2Api TargetCreateGcp Post /target-create-gcp
V2Api TargetCreateGithub Post /target-create-github
V2Api TargetCreateGitlab Post /target-create-gitlab
V2Api TargetCreateGke Post /target-create-gke
V2Api TargetCreateGlobalSign Post /target-create-globalsign
V2Api TargetCreateGlobalSignAtlas Post /target-create-globalsign-atlas
V2Api TargetCreateGodaddy Post /target-create-godaddy
V2Api TargetCreateHashiVault Post /target-create-hashi-vault
V2Api TargetCreateK8s Post /target-create-k8s
V2Api TargetCreateLdap Post /target-create-ldap
V2Api TargetCreateLinked Post /target-create-linked
V2Api TargetCreatePing Post /target-create-ping
V2Api TargetCreateRabbitMq Post /target-create-rabbitmq
V2Api TargetCreateSalesforce Post /target-create-salesforce
V2Api TargetCreateSectigo Post /target-create-sectigo
V2Api TargetCreateSsh Post /target-create-ssh
V2Api TargetCreateWeb Post /target-create-web
V2Api TargetCreateWindows Post /target-create-windows
V2Api TargetCreateZeroSSL Post /target-create-zerossl
V2Api TargetDelete Post /target-delete
V2Api TargetGet Post /target-get
V2Api TargetGetDetails Post /target-get-details
V2Api TargetList Post /target-list
V2Api TargetUpdateArtifactory Post /target-update-artifactory
V2Api TargetUpdateAws Post /target-update-aws
V2Api TargetUpdateAzure Post /target-update-azure
V2Api TargetUpdateDB Post /target-update-db
V2Api TargetUpdateDockerhub Post /target-update-dockerhub
V2Api TargetUpdateEks Post /target-update-eks
V2Api TargetUpdateGcp Post /target-update-gcp
V2Api TargetUpdateGithub Post /target-update-github
V2Api TargetUpdateGitlab Post /target-update-gitlab
V2Api TargetUpdateGke Post /target-update-gke
V2Api TargetUpdateGlobalSign Post /target-update-globalsign
V2Api TargetUpdateGlobalSignAtlas Post /target-update-globalsign-atlas
V2Api TargetUpdateGodaddy Post /target-update-godaddy
V2Api TargetUpdateHashiVault Post /target-update-hashi-vault
V2Api TargetUpdateK8s Post /target-update-k8s
V2Api TargetUpdateLdap Post /target-update-ldap
V2Api TargetUpdateLinked Post /target-update-linked
V2Api TargetUpdatePing Post /target-update-ping
V2Api TargetUpdateRabbitMq Post /target-update-rabbitmq
V2Api TargetUpdateSalesforce Post /target-update-salesforce
V2Api TargetUpdateSectigo Post /target-update-sectigo
V2Api TargetUpdateSsh Post /target-update-ssh
V2Api TargetUpdateWeb Post /target-update-web
V2Api TargetUpdateWindows Post /target-update-windows
V2Api TargetUpdateZeroSSL Post /target-update-zerossl
V2Api Tokenize Post /tokenize
V2Api TokenizeBatch Post /tokenize-batch
V2Api UidCreateChildToken Post /uid-create-child-token
V2Api UidGenerateToken Post /uid-generate-token
V2Api UidListChildren Post /uid-list-children
V2Api UidRevokeToken Post /uid-revoke-token
V2Api UidRotateToken Post /uid-rotate-token
V2Api UpdateAWSTarget Post /update-aws-target
V2Api UpdateAWSTargetDetails Post /update-aws-target-details
V2Api UpdateAccountSettings Post /update-account-settings
V2Api UpdateArtifactoryTarget Post /update-artifactory-target
V2Api UpdateAssoc Post /update-assoc
V2Api UpdateAuthMethod Post /update-auth-method
V2Api UpdateAuthMethodAWSIAM Post /update-auth-method-aws-iam
V2Api UpdateAuthMethodAzureAD Post /update-auth-method-azure-ad
V2Api UpdateAuthMethodCert Post /update-auth-method-cert
V2Api UpdateAuthMethodGCP Post /update-auth-method-gcp
V2Api UpdateAuthMethodK8S Post /update-auth-method-k8s
V2Api UpdateAuthMethodLDAP Post /update-auth-method-ldap
V2Api UpdateAuthMethodOAuth2 Post /update-auth-method-oauth2
V2Api UpdateAuthMethodOCI Post /update-auth-method-oci
V2Api UpdateAuthMethodOIDC Post /update-auth-method-oidc
V2Api UpdateAuthMethodSAML Post /update-auth-method-saml
V2Api UpdateAuthMethodUniversalIdentity Post /update-auth-method-universal-identity
V2Api UpdateAzureTarget Post /update-azure-target
V2Api UpdateCertificateValue Post /update-certificate-value
V2Api UpdateClassicKeyCertificate Post /update-classic-key-certificate
V2Api UpdateDBTarget Post /update-db-target
V2Api UpdateDBTargetDetails Post /update-db-target-details
V2Api UpdateDockerhubTarget Post /update-dockerhub-target
V2Api UpdateEKSTarget Post /update-eks-target
V2Api UpdateEventForwarder Post /update-event-forwarder
V2Api UpdateGKETarget Post /update-gke-target
V2Api UpdateGcpTarget Post /update-gcp-target
V2Api UpdateGithubTarget Post /update-github-target
V2Api UpdateGitlabTarget Post /update-gitlab-target
V2Api UpdateGlobalSignAtlasTarget Post /update-globalsign-atlas-target
V2Api UpdateGlobalSignTarget Post /update-globalsign-target
V2Api UpdateGodaddyTarget Post /update-godaddy-target
V2Api UpdateGroup Post /update-group
V2Api UpdateHashiVaultTarget Post /update-hashi-vault-target
V2Api UpdateItem Post /update-item
V2Api UpdateLdapTarget Post /update-ldap-target
V2Api UpdateLdapTargetDetails Post /update-ldap-target-details
V2Api UpdateLinkedTarget Post /update-linked-target
V2Api UpdateNativeK8STarget Post /update-k8s-target
V2Api UpdateOidcApp Post /update-oidc-app
V2Api UpdatePKICertIssuer Post /update-pki-cert-issuer
V2Api UpdatePingTarget Post /update-ping-target
V2Api UpdateRDPTargetDetails Post /update-rdp-target-details
V2Api UpdateRabbitMQTarget Post /update-rabbitmq-target
V2Api UpdateRabbitMQTargetDetails Post /update-rabbitmq-target-details
V2Api UpdateRole Post /update-role
V2Api UpdateRotatedSecret Post /update-rotated-secret
V2Api UpdateRotationSettings Post /update-rotation-settings
V2Api UpdateSSHCertIssuer Post /update-ssh-cert-issuer
V2Api UpdateSSHTarget Post /update-ssh-target
V2Api UpdateSSHTargetDetails Post /update-ssh-target-details
V2Api UpdateSalesforceTarget Post /update-salesforce-target
V2Api UpdateSecretVal Post /update-secret-val
V2Api UpdateTarget Post /update-target
V2Api UpdateTargetDetails Post /update-target-details
V2Api UpdateWebTarget Post /update-web-target
V2Api UpdateWebTargetDetails Post /update-web-target-details
V2Api UpdateWindowsTarget Post /update-windows-target
V2Api UpdateZeroSSLTarget Post /update-zerossl-target
V2Api UploadRSA Post /upload-rsa
V2Api UscCreate Post /usc-create
V2Api UscDelete Post /usc-delete
V2Api UscGet Post /usc-get
V2Api UscList Post /usc-list
V2Api UscUpdate Post /usc-update
V2Api ValidateToken Post /validate-token
V2Api VerifyDataWithClassicKey Post /verify-data-with-classic-key
V2Api VerifyEcDsa Post /verify-ecdsa
V2Api VerifyGPG Post /verify-gpg
V2Api VerifyJWTWithClassicKey Post /verify-jwt-with-classic-key
V2Api VerifyPKCS1 Post /verify-pkcs1
V2Api VerifyPKICertWithClassicKey Post /verify-pki-cert-with-classic-key
V2Api VerifyRsaSsaPss Post /verify-rsassa-pss

Documentation For Models

Documentation For Authorization

Endpoints do not require authorization.

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

[email protected]