Ana içeriğe geç

Keystore Management

Creating a New Key Store

Create Key Store Definition

Click the Create button from the Management → Secrets Management → Key Stores screen. Fill in the information under Definition. Then click the New Key Store Definition button.

Key Store Definition Creation

The fields used for Key Store creation configuration:

FieldDescription
NameName information of the created Key store.
DescriptionA description can be written to facilitate management related to the created Key Store.
Key Store Configuration

Fill in the configuration information for the Key Store in the opened window. Then click the Save button. The saved Key Store Definition is listed in the table opened under Configuration.

Key Store Configuration

The fields used for Key Store definition configuration:

FieldDescription
Environments (Environments)The previously defined environment where the Key Store will be used is selected.
Key Store Type (Key Store Type)The type of the Key Store is selected. Three options are available:
• JKS
• PKCS12
• PEM
File (File)The file containing the Key Store is selected by clicking the "Select File" button.
• Allowed formats: .jks, .pkcs12, .p12, .pfx, .pem, .crt, .cer
AliasThe alias information of the Key Store is entered.
Password (Password)This is the field where the password for the Key Store is entered.
Save and Deploy

After completing the definition and configuration information, click the Save and Deploy button to deploy.

Key Store Save and Deploy

Key Store Editing

Accessing Key Store Editing Page

To edit an existing Key Store, click the Edit button from that Key Store's menu.

Key Store Editing Page
Configuration Editing

To edit the configuration information belonging to the Key Store, click the Edit button from the menu under the configuration list.

Key Store Configuration Editing
not

After clicking the "Edit" button to edit the Key Store, the steps followed during creation are followed.

When a Key Store is updated and the Save and Deploy button is clicked, if there are JWKs created from this keystore, the system automatically detects related JWKs and presents the user with options.

bilgi

When a Key Store is updated, JWKs created from this keystore can also be automatically updated or the relationship can be disconnected.

JWK Connection Dialog

When a Key Store is updated and related JWKs are detected, the following dialog opens:

JWK Connection Dialog

Dialog Content:

  • Title: "JWK Connection"
  • Warning Message: "This Key Store is used in X JWK(s). What would you like to do?"
  • Options:
    • Update related JWKs: Ensures that changes in the Key Store are reflected to related JWKs as well.
    • Update keystore only and disconnect: Updates the Key Store but disconnects the relationship with JWKs.
    • Cancel: Cancels the operation.

Update Flow

Key Store Update

Edit the Key Store information and click the Save and Deploy button.

Related JWK Check

The system checks for JWKs created from this keystore.

Dialog Display

If there are related JWKs, the JWK Connection dialog opens.

Making Selection

The user selects one of three options: Update, Disconnect, or Cancel.

Confirmation Dialog

When Update or Disconnect is selected, a confirmation dialog opens. The user confirms the operation by entering the keystore name.

Completing Operation

After confirmation, the selected operation is performed and the keystore is updated.

uyarı

Updating related JWKs may affect all policies and connections using these JWKs. Evaluate the impacts before proceeding.

Key Store Deletion

Starting Deletion Operation

To delete an existing Key Store, click the Delete button from that Key Store's menu.

Key Store Deletion Operation
Confirming Deletion Operation

Click the Delete button again in the opened window to confirm.

Key Store Deletion Confirmation

Keystore Studio

Accessed from the Management → Secret → Keystore Studio menu, Keystore Studio is a tool that lets you inspect, edit, and convert JKS or PKCS12 keystores directly in your browser. As an alternative to desktop keystore tools, you can work with keystore content without any installation.

bilgi

A keystore you open or create in Keystore Studio is only held in memory for the duration of your browser session; nothing is persisted unless you explicitly click Save to Pool.

Opening or Creating a Keystore

Keystore Studio home screen
Opening an Existing Keystore

With Open Keystore, you can drag and drop or upload a .jks, .p12, or .pfx file from your computer using the file picker. The keystore type (JKS / PKCS12) is auto-detected from the file extension and can be changed manually if needed. Enter the store password and click Open to load the keystore into the inspection screen.

Creating a New Empty Keystore

With Create New Keystore, you can start a fresh, empty JKS or PKCS12 keystore. After entering and confirming the store password, you can start adding entries to the newly created empty keystore.

Inspecting Entries

Once a keystore is opened, all entries (aliases) it contains are listed in a table: alias name, entry type (key pair or certificate), subject information, algorithm, and expiration date. Clicking View Detail on an entry shows the full certificate chain (subject/issuer, serial number, validity dates, algorithm and key size, SHA-1/SHA-256 fingerprint, the Subject Alternative Name list, and any intermediate/root certificates).

Keystore Studio alias list

Adding Entries

You can add a new entry to the keystore you are working on in three ways:

Generate Key Pair

Generates an RSA (1024/2048/3072/4096-bit) or EC (P-256/P-384/P-521/secp256k1) key pair and automatically signs it with a self-signed X.509 certificate. Subject DN, validity period, Subject Alternative Names, key usage, and CA (basic constraints) information can be customized.

Generate Secret Key

Generates an AES (128/192/256-bit) secret key. Secret key entries can only be stored in PKCS12-format keystores.

The Import option supports five different source formats:

Keystore Studio import dialog
FormatDescription
PKCS#12 (.p12/.pfx)Copies a single alias or all entries from another PKCS12 keystore.
PKCS#8 (PEM key + certificate)Creates a new key entry from a pasted PKCS#8-format private key and its matching certificate(s).
OpenSSL (PEM key + certificate)Creates a new key entry from a pasted OpenSSL-generated private key and certificate content.
Pasted PEMParses free-form PEM content pasted into a single text field, which may contain multiple blocks; creates a key entry if a private key is present, otherwise a certificate-only entry.
Trusted CertificateAdds a certificate-only trusted certificate entry with no private key; can be provided by uploading a file or pasting PEM/base64 content.
not

Depending on the selected format, importing uses whichever method is appropriate — file upload, pasting text (PEM), or entering base64 content.

Editing Operations

The following operations are available on an existing entry:

Keystore Studio rename alias
  • Rename Alias: Changes the alias name of an entry.
  • Set Entry Password: Available only for key pair entries; changes the entry's own password.
  • Change Store Password: Changes the keystore's overall password; per-alias entry passwords can also be set if needed.
  • Delete Entry: Removes the selected entry from the keystore you are working on.

Exporting and Converting Formats

Keystore Studio convert format
Export Certificate

Downloads the certificate of a selected entry as a file in one of the DER, PEM, PKCS#7, or PKI Path formats.

Convert Format

Converts the entire keystore you are working on between JKS and PKCS12; all entries are carried over to the new format (secret key entries can only be preserved when the target is PKCS12).

Downloading and Saving to the Pool

You can download the keystore you are working on to your computer at any time with Download, or permanently add it to the Apinizer Key Store pool with Save to Pool. A keystore saved to the pool becomes deployable to environments just like the Key Store configurations described above.

uyarı

Saving to the pool requires Secrets & Certificates management permission on the relevant project for users who are not system administrators.