---
title: Secrets
description: Secrets represent cryptographic values such as private keys
component: pingam
version: 8.1
page_id: pingam:entity-reference:sec-amster-entity-secrets
canonical_url: https://docs.pingidentity.com/pingam/8.1/entity-reference/sec-amster-entity-secrets.html
section_ids:
  sec-amster-entity-secrets-realm-ops: Realm Operations
  sec-amster-entity-secrets-realm-ops-getalltypes: getAllTypes
  sec-amster-entity-secrets-realm-ops-getcreatabletypes: getCreatableTypes
  sec-amster-entity-secrets-realm-ops-nextdescendents: nextdescendents
  sec-amster-entity-secrets-global-ops: Global Operations
  sec-amster-entity-secrets-global-ops-getalltypes: getAllTypes
  sec-amster-entity-secrets-global-ops-getcreatabletypes: getCreatableTypes
  sec-amster-entity-secrets-global-ops-nextdescendents: nextdescendents
---

# Secrets

## Realm Operations

Secrets represent cryptographic values such as private keys

Resource path:

```
/realm-config/secrets
```

Resource version: `0.0`

### getAllTypes

Obtain the collection of all secondary configuration types related to the resource.

**Usage**

```
am> action Secrets --realm Realm --actionName getAllTypes
```

### getCreatableTypes

Obtain the collection of secondary configuration types that have yet to be added to the resource.

**Usage**

```
am> action Secrets --realm Realm --actionName getCreatableTypes
```

### nextdescendents

Obtain the collection of secondary configuration instances that have been added to the resource.

**Usage**

```
am> action Secrets --realm Realm --actionName nextdescendents
```

## Global Operations

Secrets represent cryptographic values such as private keys

Resource path:

```
/global-config/secrets
```

Resource version: `1.0`

### getAllTypes

Obtain the collection of all secondary configuration types related to the resource.

**Usage**

```
am> action Secrets --global --actionName getAllTypes
```

### getCreatableTypes

Obtain the collection of secondary configuration types that have yet to be added to the resource.

**Usage**

```
am> action Secrets --global --actionName getCreatableTypes
```

### nextdescendents

Obtain the collection of secondary configuration instances that have been added to the resource.

**Usage**

```
am> action Secrets --global --actionName nextdescendents
```
