step context current

Name

step context current -- current returns the name of the current context

Usage

step context current [--json]

Description

step context current returns the name of the current context.

Options

--json Return stringified JSON containing the main attributes of a context.

Examples

List all certificate authority contexts:

$ step context current test-ca
$ step context current --json {"name":"test-ca","authority":"internal.ca.smallstep.com","profile":"test-ca"}