Skip to content

Creating a CA via CLI requires -a "" #142

Closed
@andrewpmartinez

Description

Experienced

When creating a CA, identity roles are required. The identity roles flag, -a is optional and when it is not specified the controller will return an error stating that identityRoles is required.

{"error":"validation failure list:\nvalidation failure list:\nidentityRoles in body is required"}

Expected

If -a is no specified an empty array is used for identityRoles when a CA is created and no error is output.

Reproduction

  1. Create a CA via the CLI w/o the -a option

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions