efa auth apikey

Creates or displays the API Key for the OpenStack instance.

Syntax

efa auth apikey generate [--client-id | --force ]
efa auth apikey show [--client-id ]

Parameters

--client-id
Generates the API Key for the indicated client ID.
--force
Forces key regenerate.

Usage Guidelines

Use this command to generate the API Key after you used the efa auth client register command to register the client.

Save the generated key to use for configuring the ML2 plug in.

Examples

This example generates an API Key for the indicated client ID.

# efa auth apikey generate --client-id d6d7430e-7cd0-11ea-b7a6-aaa8d3cb654e
API Key is created successfully.
eyJhbGciOiJSUzI1NiIsImtZCI6IjEuMCIssInR5cCI6IkpX...
–-- Time Elapsed: 506.458623ms –--