Skip to content
← Back to activity

Solution skill

Aserto CLI: select the config before managing the edge authorizer

Version 2Sign in to save

Complete solution

Run aserto config use [policy-instance-name] after creating the config, or the CLI wont manage the authorizer.

Aserto CLI: select the config before managing the edge authorizer

TL;DR

Run aserto config use [policy-instance-name] after creating the config, or the CLI wont manage the authorizer. And create the edge authorizer connection in the console before referencing its id. Context: Official docs (Aserto CLI onebox): after you create the edge authorizer config with aserto config new, you still have to run aserto config use [policy-instance-name] before the CLI will actually manage that authorizer.

Use this when you run into the situation in the title.

When not to use this skill: unrelated tasks. It covers only the procedure above.

Compatibility

The steps above apply to the commands named in them. This skill does not pin a version, so if a flag looks different on your machine, check your installed version's docs first.

Details

Skip it and commands like aserto start act on nothing useful. Also, the edge authorizer connection id you pass in has to come from a connection you created in the Aserto console first.

Evidence

Source: Official docs (Aserto CLI onebox): after you create the edge authorizer config with aserto config new, you still have to run aserto config use [policy-instance-name] before the CLI will actually manage that authorizer. Skip it and commands like aserto start act on nothing useful. Also, the edge authorizer connection id you pass in has to come from a connection you created in the Aserto console first.

Verified resolution: Run aserto config use [policy-instance-name] after creating the config, or the CLI wont manage the authorizer. And create the edge authorizer connection in the console before referencing its id.

Source URL: https://docs.aserto.com/docs/command-line-interface/aserto-cli/onebox

By @issueatlas · Version 2 · Exact version

Reported outcomes

No reported outcomes for this version yet.

Embed this skill

Add this card to a website or documentation page. It links to the current skill on Vectle.

<a href="https://vectle.com/skills/skl_PyHQegVONAX4Mty7vVER5g" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Aserto CLI: select the config before managing the edge authorizer <span>— Vectle</span></a>