DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
Refcards Trend Reports
Events Video Library
Refcards
Trend Reports

Events

View Events Video Library

Related

  • Designing Scalable and Secure Cloud-Native Architectures: Technical Strategies and Best Practices
  • Mitigate the Security Challenges of Telecom 5G IoT Microservice Pods Architecture Using Istio
  • IoT Needs To Get Serious About Security
  • Less Time Learning, More Time Building

Trending

  • Give Your AI Assistant Long-Term Memory With perag
  • Managing, Updating, and Organizing Agent Skills
  • A Spring Boot App With Half the Startup Time
  • How to Submit a Post to DZone
  1. DZone
  2. Software Design and Architecture
  3. Security
  4. Secrets Manager in Anypoint Platform

Secrets Manager in Anypoint Platform

Learn more about Secrets Manager in Anypoint Platform.

By 
Nitin  Gupta  user avatar
Nitin Gupta
·
Jul. 31, 19 · Opinion
Likes (6)
Comment
Save
Tweet
Share
18.4K Views

Join the DZone community and get the full member experience.

Join For Free

We can use the secrets manager to write, read, and manage your secrets, keys, and Transport Layer Security (TLS) certificates within a unique source that allows access to other authorized platform services on your behalf.

This is the central and secure repository to manage the secrets. Please note that the Secrets manager is supported on Runtime Fabric and API Manager only. Secrets manager uses secure vault technology to store and control access to private keys, passwords, certificates, and other secrets.

Anypoint Secrets Manager lets you store these secrets in secret groups, which are vaults associated with your environment and business group.

Each secrets group has unique encryption keys with per-instance access rules for read, write, and manage. You can configure your applications or platform services to request those secrets, and you can control which services are authorized to access them.

Image title

Image title

This basic task is handled by two microservices:

  • Secrets Manager: This service handles the upload and storing of your secrets. Every time you upload a secret to your vault, the Secrets Manager establishes a reference to it, so it can be shared or read without revealing its contents.
  • Secrets Provider: This service handles the secrets for consumption by platform services. This is the only service that can read actual secrets, and due to its nature, this is an internal service and not accessible from the public network. This service is used by the requesting client to consume the secret.

Secrets Manager can store and manage the following secret types:

Shared Secrets

Shared secrets are used for symmetric encryption and decryption, where the secret is known by both the message sender and the message recipient. Please find the below process in the Anypoint Platform.

Image title

Image title

Anypoint Secrets Manager lets you store the following secret types to use as shared secrets.

  • Passwords: A password used by the sender and recipient to encode and decode the message.
  • Symmetric Keys: A public key cryptography used by the sender and recipient to encode and decode the message.
  • S3 Credentials: A pair of security keys to access AWS S3 buckets.
  • Blob: A free-form and application-specific secret. Blobs are base64 encoded data used by specific applications. For example, a blob could store a base64-encoded JSON object. The secret is stored through an API call and must be base64 encoded.

Certificates

Public X.509 certificates, electronic documents that bind together a public key with an identity (hostname, organization, or individual).

Image titlePrivate Keys

A secret key value paired with a public key to set off algorithms for encryption and decryption.

Keystore

A repository of security certificates (either authorization certificates or public key certificates) along with their corresponding private keys.

Image title

Image title


Truststore

A repository of security certificates from other parties with which you expect to communicate or from Certificate Authorities that you trust to identify other parties.

Image title

Image title

Certificate Pin Set

A repository of security certificates from other parties that associate a client or host with their expected X.509 certificate or public key.

Image title

CRL Distributor

An entity that creates and maintains a list of CA certificates that are no longer trusted because their associated private keys, or a signing CA, were compromised.

Image title

Image title

TLS Context

SSL Security Parameters (ciphers to use, TLS version, and so on).

Image title

Image title

Anypoint Secrets Manager does not save the actual values of your secrets within your application bundle. It saves a placeholder for those values, which is later replaced by the actual secret accessed only by the secrets provider when an authorized client requests it.

TLS microservice security

Opinions expressed by DZone contributors are their own.

Related

  • Designing Scalable and Secure Cloud-Native Architectures: Technical Strategies and Best Practices
  • Mitigate the Security Challenges of Telecom 5G IoT Microservice Pods Architecture Using Istio
  • IoT Needs To Get Serious About Security
  • Less Time Learning, More Time Building

Partner Resources

×

Comments

The likes didn't load as expected. Please refresh the page and try again.

  • RSS
  • X
  • Facebook

ABOUT US

  • About DZone
  • Support and feedback
  • Community research

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • Become a Contributor
  • Core Program
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 3343 Perimeter Hill Drive
  • Suite 215
  • Nashville, TN 37211
  • [email protected]

Let's be friends:

  • RSS
  • X
  • Facebook