POST
/
api
/
v3
/
secrets
/
tags
/
{secretName}

Authorizations

Authorization
string
headerrequired

An access token in Infisical

Path Parameters

secretName
string
required

The name of the secret to attach tags to.

Body

application/json
projectSlug
string
required

The slug of the project where the secret is located

environment
string
required

The slug of the environment where the secret is located

secretPath
string
default: /

The path of the secret to attach tags to.

type
enum<string>
default: shared

The type of the secret to attach tags to. (shared/personal)

Available options:
shared,
personal
tagSlugs
string[]
required

An array of existing tag slugs to attach to the secret.

Response

200 - application/json
secret
object
required