GnuPGP Keys

Create one or more GPG public keys in the server's configuration

Create one or more GPG public keys in the server's configuration.

Securityx-api-key
Request
path Parameters
agentIdentifier
required
string

Agent identifier for entity.

query Parameters
accountIdentifier
string

Account Identifier for the Entity.

orgIdentifier
string

Organization Identifier for the Entity.

projectIdentifier
string

Project Identifier for the Entity.

Request Body schema: application/json
required
object (GnuPGPublicKey is a representation of a GnuPG public key)
upsert
boolean (Whether to upsert already existing public keys)
Responses
200

A successful response.

default

An unexpected error response.

post/gitops/api/v1/agents/{agentIdentifier}/gpgkeys
Request samples
application/json
{
  • "publickey": {
    },
  • "upsert": true
}
Response samples
application/json
{
  • "created": {
    },
  • "skipped": [
    ]
}

Get information about specified GPG public key from the server

Get information about specified GPG public key from the server.

Securityx-api-key
Request
path Parameters
agentIdentifier
required
string

Agent identifier for entity.

query.keyID
required
string

The GPG key ID to query for

query Parameters
accountIdentifier
string

Account Identifier for the Entity.

orgIdentifier
string

Organization Identifier for the Entity.

projectIdentifier
string

Project Identifier for the Entity.

Responses
200

A successful response.

default

An unexpected error response.

get/gitops/api/v1/agents/{agentIdentifier}/gpgkeys/{query.keyID}
Request samples
Response samples
application/json
{
  • "keyID": "string",
  • "fingerprint": "string",
  • "owner": "string",
  • "trust": "string",
  • "subType": "string",
  • "keyData": "string"
}

Delete specified GPG public key from the server's configuration

Delete specified GPG public key from the server's configuration.

Securityx-api-key
Request
path Parameters
agentIdentifier
required
string

Agent identifier for entity.

query.keyID
required
string

The GPG key ID to query for

query Parameters
accountIdentifier
string

Account Identifier for the Entity.

orgIdentifier
string

Organization Identifier for the Entity.

projectIdentifier
string

Project Identifier for the Entity.

Responses
200

A successful response.

default

An unexpected error response.

delete/gitops/api/v1/agents/{agentIdentifier}/gpgkeys/{query.keyID}
Request samples
Response samples
application/json
{ }