# GitHub::Organizations::Secret Manage the organization secret ## Syntax To declare this entity in your AWS CloudFormation template, use the following syntax: ### JSON
{
    "Type" : "GitHub::Organizations::Secret",
    "Properties" : {
        "Org" : String,
        "SecretValue" : String,
        "SecretName" : String,
        "Name" : String,
        "SelectedRepositoryIds" : [ Double, ... ],
        "Visibility" : String,
        "CreatedAt" : String,
        "UpdatedAt" : String
    }
}
### YAML
Type: GitHub::Organizations::Secret
Properties:
    Org: String
    SecretValue: String
    SecretName: String
    Name: String
    SelectedRepositoryIds: 
      - Double
    Visibility: String
    CreatedAt: String
    UpdatedAt: String
## Properties #### Org The organization name. 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) #### SelectedRepositoryIds An array of repository ids that can access the organization secret. You can only provide a list of repository ids when the visibility is set to selected. You can manage the list of selected repositories using the List selected repositories for an organization secret, Set selected repositories for an organization secret, and Remove selected repository from an organization secret endpoints. _Required_: No _Type_: List of Double _Update requires_: [No interruption](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-no-interrupt) #### Visibility Which type of organization repositories have access to the organization secret. selected means only the repositories specified by selected_repository_ids can access the secret. _Required_: Yes _Type_: String _Allowed Values_: all | private | selected _Update requires_: [Replacement](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement) #### 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) ## Return Values ### Fn::GetAtt The `Fn::GetAtt` intrinsic function returns a value for a specified attribute of this type. The following are the available attributes and sample return values. For more information about using the `Fn::GetAtt` intrinsic function, see [Fn::GetAtt](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/intrinsic-function-reference-getatt.html). #### SelectedRepositoriesUrl Returns the SelectedRepositoriesUrl value.