CLI FAQs

Common questions about using the CLI

What are the use cases for multiple profiles?

We can think of at least three different uses for multiple profiles.

  1. Organizations - To set up a profile for different organizations, which are the highest level name on a certificate, each organization (O) needs to be registered with Truepic separately.
  2. Organization Units - Each organization can have an unlimited number of organizational units (OU). While only the O is typically displayed in Content Credentials, the OU does appear in the certificate as well as the verification response. Customers often use multiple OUs for different development environments, as well as departments within a single company.
  3. Keys - Each profile is associated with a specific private key and certificate. If you want to use different keys to obtain a certificate, you should create a separate profile. For instance, if you want to use one key for web servers and another key for internal infrastructure.

How do I check what profile the CLI is currently using?

There isn't a command for that because the CLI isn't stateful. That is, you always have to specify the profile, or it just uses default if you don't.