Reference
Prefect Cloud
Secret blocks in one Prefect Cloud workspace.
Secret blocks in one Prefect Cloud workspace.
Connection
| What | This provider |
|---|---|
| Vendor | Prefect |
| Key | prefect-block-secret |
| Availability | available. You can connect it today. |
| Credential we hold | prefect-key |
| Values read back | yes |
| Activation | immediate |
Directions
| Direction | What it does |
|---|---|
import | We read names and values out of the store into your environment. |
export | We write names and values from your environment into the store. |
Activation
immediate. The running app sees a new value at once.
Conflict policies
| Direction | Policies you can pick |
|---|---|
import | skip_existing, new_version, fail |
export | create_only, overwrite, overwrite_and_prune |
How syncs work says what each one does.
Connect
Paste a credential from the vendor. We seal it and never show it again.
| Field | Label | Kind | Required | What it is |
|---|---|---|---|---|
apiKey | API key | secret; we mask it here and seal it | yes | An account or workspace API key. A service account key survives the person who made it. |
Connection fields
You set these when you connect. Every mapping on the connection shares them.
| Field | Label | Kind | Required | Advanced | What it is |
|---|---|---|---|---|---|
accountId | Account ID | text | yes | no | The first ID in your Prefect Cloud URL, after /account/. |
workspaceId | Workspace ID | text | yes | no | The second ID in the same URL, after /workspace/. |
Mapping fields
You answer these once per environment you map.
| Field | Label | Kind | Required | Advanced | What it is |
|---|---|---|---|---|---|
namePrefix | Block name prefix | text | yes | no | A workspace holds every block in one list, so the prefix is what this sync owns. |
Required permissions
We probe for these when we verify the connection.
| Permission | Directions | Blocking | Without it |
|---|---|---|---|
Workspace Viewer | every direction | yes | Preview cannot list the Secret blocks in this workspace. |
Workspace Developer | export | yes | Export cannot write anything. |