# GitHub::Repositories::Secret Manage the repository secret ## Syntax To declare this entity in your AWS CloudFormation template, use the following syntax: ### JSON
{
    "Type" : "GitHub::Repositories::Secret",
    "Properties" : {
        "Owner" : String,
        "Repository" : String,
        "SecretValue" : String,
        "SecretName" : String,
        "Name" : String,
        "CreatedAt" : String,
        "UpdatedAt" : String
    }
}
### YAML
Type: GitHub::Repositories::Secret
Properties:
    Owner: String
    Repository: String
    SecretValue: String
    SecretName: String
    Name: String
    CreatedAt: String
    UpdatedAt: String
## Properties #### Owner The account owner of the repository. The name is not case sensitive. _Required_: Yes _Type_: String _Update requires_: [Replacement](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement) #### Repository The name of the repository. The name is not case sensitive. _Required_: Yes _Type_: String _Update requires_: [Replacement](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement) #### SecretValue Value for your secret, which will be encrypted with LibSodium using the public key retrieved from the Get an repository public key endpoint. _Required_: No _Type_: String _Update requires_: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt) #### SecretName The name of the secret. _Required_: Yes _Type_: String _Update requires_: [Replacement](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement) #### Name The name of the secret. _Required_: No _Type_: String _Update requires_: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt) #### CreatedAt _Required_: No _Type_: String _Update requires_: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt) #### UpdatedAt _Required_: No _Type_: String _Update requires_: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt)