Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Storage] Oauth support for copy source #14404

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -5202,6 +5202,9 @@
},
{
"$ref": "#/parameters/CopySourceBlobProperties"
},
{
"$ref": "#/parameters/CopySourceAuthorization"
}
],
"responses": {
Expand Down Expand Up @@ -6892,6 +6895,9 @@
},
{
"$ref": "#/parameters/LegalHoldOptional"
},
{
"$ref": "#/parameters/CopySourceAuthorization"
}
],
"responses": {
Expand Down Expand Up @@ -7472,6 +7478,9 @@
},
{
"$ref": "#/parameters/ClientRequestId"
},
{
"$ref": "#/parameters/CopySourceAuthorization"
}
],
"responses": {
Expand Down Expand Up @@ -8265,6 +8274,9 @@
},
{
"$ref": "#/parameters/ClientRequestId"
},
{
"$ref": "#/parameters/CopySourceAuthorization"
}
],
"responses": {
Expand Down Expand Up @@ -9198,6 +9210,9 @@
},
{
"$ref": "#/parameters/ClientRequestId"
},
{
"$ref": "#/parameters/CopySourceAuthorization"
}
],
"responses": {
Expand Down Expand Up @@ -12097,6 +12112,15 @@
"x-ms-parameter-location": "method",
"description": "Specifies the name of the source page blob snapshot. This value is a URL of up to 2 KB in length that specifies a page blob snapshot. The value should be URL-encoded as it would appear in a request URI. The source blob must either be public or must be authenticated via a shared access signature."
},
"CopySourceAuthorization": {
"name": "x-ms-copy-source-authorization",
"x-ms-client-name": "copySourceAuthorization",
"in": "header",
"required": false,
"type": "string",
"x-ms-parameter-location": "method",
"description": "Only Bearer type is supported. Credentials should be a valid OAuth access token to copy source."
},
"CopySourceBlobProperties": {
"name": "x-ms-copy-source-blob-properties",
"x-ms-client-name": "copySourceBlobProperties",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4333,6 +4333,9 @@
},
{
"$ref": "#/parameters/LeaseIdOptional"
},
{
"$ref": "#/parameters/CopySourceAuthorization"
}
],
"responses": {
Expand Down Expand Up @@ -5719,6 +5722,15 @@
"x-ms-parameter-location": "method",
"description": "Specifies the URL of the source file or blob, up to 2 KB in length. To copy a file to another file within the same storage account, you may use Shared Key to authenticate the source file. If you are copying a file from another storage account, or if you are copying a blob from the same storage account or another storage account, then you must authenticate the source file or blob using a shared access signature. If the source is a public blob, no authentication is required to perform the copy operation. A file in a share snapshot can also be specified as a copy source."
},
"CopySourceAuthorization": {
"name": "x-ms-copy-source-authorization",
"x-ms-client-name": "copySourceAuthorization",
"in": "header",
"required": false,
"type": "string",
"x-ms-parameter-location": "method",
"description": "Only Bearer type is supported. Credentials should be a valid OAuth access token to copy source."
},
"FileCopyPermissionCopyMode": {
"name": "x-ms-file-permission-copy-mode",
"x-ms-client-name": "filePermissionCopyMode",
Expand Down