{
  "$id": "https://fluence.dev/schemas/project-secrets.yaml",
  "title": "project-secrets.yaml",
  "type": "object",
  "description": "Defines project's secret keys that are used only in the scope of this particular Fluence project. You can manage project's keys using commands from `fluence key` group of commands",
  "properties": {
    "keyPairs": {
      "title": "Key Pairs",
      "description": "Key Pairs available for the particular project",
      "type": "array",
      "items": {
        "title": "Key Pair",
        "type": "object",
        "properties": {
          "secretKey": {
            "type": "string"
          },
          "name": {
            "type": "string"
          }
        },
        "required": [
          "secretKey",
          "name"
        ]
      }
    },
    "defaultKeyPairName": {
      "type": "string",
      "nullable": true,
      "description": "Key pair with this name will be used for the deployment by default. You can override it with flags or by using keyPair properties in fluence.yaml"
    },
    "version": {
      "type": "number",
      "const": 0
    }
  },
  "required": [
    "version",
    "keyPairs"
  ]
}
