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.
- 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.
- 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.
- 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.
Updated 4 months ago