id = "okta" name = "Okta CLI" homepage = "https://cli.okta.com" description = "The Okta CLI is the easiest way to get started with Okta!" icon = "SimpleIcons:okta" executables = ["okta"] [dotfiles] # okta-aws-cli's README: "the Okta language SDKs have standardized on using # $HOME/.okta/okta.yaml as a configuration file and location", and both the # Okta CLI and okta-aws-cli read that one file ("Lists profile names in # ~/.okta/okta.yaml"). On Windows it is %userprofile%\.okta\okta.yaml, which # resolves to the same path. A project-level .okta.yaml belongs to the # repository and is not listed. paths = ["~/.okta/okta.yaml"] exclude = [] # Not a whole-file secret: orgUrl, connectionTimeout, the proxy host and the # okta-aws-cli "awscli" section (ARN-to-label maps for IdPs and roles) are # ordinary config worth carrying. secret = [] # The client configuration okta-sdk-java documents for this file: `token` is # the org API token, `privateKey` is the PEM (or path to it) used in # PrivateKey authorization mode, and `proxy.password` is the proxy credential. [[dotfiles.secret_paths]] file = "~/.okta/okta.yaml" match = { key_path = [ "okta.client.token", "okta.client.privateKey", "okta.client.proxy.password", ] } [commands] format = 1 label = "Okta CLI" description = "Create Okta apps and sample applications." quality = "ai-draft" base = "fig:okta" parser = { end_of_options = "--", interleave = "permute", long_equals = true, short_attached = true, short_bundles = false } [[commands.source]] id = "fig" kind = "completion" url = "https://github.com/withfig/autocomplete/blob/master/src/okta.ts" license = "MIT" [[commands.subcommand]] path = ["apps", "create"] label = "Create an Okta app" description = "Create a new Okta app." [[commands.subcommand.source]] id = "fig" kind = "completion" url = "https://github.com/withfig/autocomplete/blob/master/src/okta.ts" license = "MIT" [[commands.subcommand.field]] id = "app_name" label = "App name" type = "string" option = ["--app-name"] sources = ["fig"] [[commands.subcommand.field]] id = "redirect_uri" label = "Redirect URI" type = "url" option = ["--redirect-uri"] sources = ["fig"] [[commands.subcommand.field]] id = "auth_server" label = "Authorization server ID" type = "string" option = ["--authorization-server-id"] sources = ["fig"] [[commands.subcommand.field]] id = "config_file" label = "Config file" type = "path" option = ["--config-file"] path = { kind = "file", role = "input", must_exist = true } sources = ["fig"] [[commands.subcommand.task]] id = "create" label = "Create app" fields = ["app_name", "redirect_uri"] required = [] [[commands.subcommand.group]] id = "basic" label = "Basic" fields = ["app_name", "redirect_uri", "auth_server", "config_file"] [[commands.subcommand]] path = ["start"] label = "Create a sample app" description = "Create an Okta sample application." [[commands.subcommand.source]] id = "fig" kind = "completion" url = "https://github.com/withfig/autocomplete/blob/master/src/okta.ts" license = "MIT" [[commands.subcommand.field]] id = "name" label = "Sample name" type = "string" position = 0 sources = ["fig"] [[commands.subcommand.task]] id = "start" label = "Create sample" fields = ["name"] required = [] [[commands.subcommand.group]] id = "basic" label = "Basic" fields = ["name"]