access commands#

Toolkit#

geonemo-services access#

Host-local access administration.

geonemo-services access issue-deployment-check#

Show short-lived API/MCP check credentials once; capture output privately.

Parameter

Type

Required

Default

Description

--publication, --no-publication

boolean

Grant the report canary publication scope.

--lifetime-seconds

integer range

3600

geonemo-services access issue-service-token#

Show a read-only service credential once; capture output privately.

The credential has only the services:read scope and is refused for any request that is not a GET. Issuing a name again replaces its earlier token. Issuing also deletes the service credentials that expired at least an hour ago.

Parameter

Type

Required

Default

Description

--name

text

yes

null

Name of the service that will use the token.

--lifetime-days

integer range

365

geonemo-services access prune-expired#

Delete every access record that expired at least an hour ago.

Sign-in and issue-deployment-check already do this, 500 records at a time; this command repeats that until none remain, to drain a backlog. It removes expired sign-in flows, OAuth requests and codes, sessions, refresh credentials and credentials. Expired personal tokens are kept for 30 days, and service credentials are left to issue-service-token. The output’s remaining is false when nothing is left; with –limit it may be true, and the command can be run again.

Parameter

Type

Required

Default

Description

--limit

integer range

Stop after this many records; by default, when none remain.

geonemo-services access revoke-service-token#

Revoke a service credential by name.

Parameter

Type

Required

Default

Description

--name

text

yes

null

Name the token was issued under.