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

feat: Add support for SAS tokens for authentication in Azure Service … #938

Merged
merged 2 commits into from
Sep 20, 2022
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
7 changes: 6 additions & 1 deletion content/docs/1.4/scalers/azure-service-bus.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,12 @@ You can authenticate by using pod identity or connection string authentication.

**Connection String Authentication:**

- `connection` - Connection string for Azure Service Bus Namespace.
- `connection` - Connection string for the Azure Service Bus Namespace.

The following formats are supported.

- With **SharedAccessKey** -
`Endpoint=sb://<sb>.servicebus.windows.net/;SharedAccessKeyName=<key name>;SharedAccessKey=<key value>`

### Example

Expand Down
7 changes: 6 additions & 1 deletion content/docs/1.5/scalers/azure-service-bus.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,12 @@ You can authenticate by using pod identity or connection string authentication.

**Connection String Authentication:**

- `connection` - Connection string for Azure Service Bus Namespace.
- `connection` - Connection string for the Azure Service Bus Namespace.

The following formats are supported.

- With **SharedAccessKey** -
`Endpoint=sb://<sb>.servicebus.windows.net/;SharedAccessKeyName=<key name>;SharedAccessKey=<key value>`

### Example

Expand Down
7 changes: 6 additions & 1 deletion content/docs/2.0/scalers/azure-service-bus.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,12 @@ You can authenticate by using pod identity or connection string authentication.

**Connection String Authentication:**

- `connection` - Connection string for Azure Service Bus Namespace.
- `connection` - Connection string for the Azure Service Bus Namespace.

The following formats are supported.

- With **SharedAccessKey** -
`Endpoint=sb://<sb>.servicebus.windows.net/;SharedAccessKeyName=<key name>;SharedAccessKey=<key value>`

### Example

Expand Down
7 changes: 6 additions & 1 deletion content/docs/2.1/scalers/azure-service-bus.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,12 @@ You can authenticate by using pod identity or connection string authentication.

**Connection String Authentication:**

- `connection` - Connection string for Azure Service Bus Namespace.
- `connection` - Connection string for the Azure Service Bus Namespace.

The following formats are supported.

- With **SharedAccessKey** -
`Endpoint=sb://<sb>.servicebus.windows.net/;SharedAccessKeyName=<key name>;SharedAccessKey=<key value>`

### Example

Expand Down
7 changes: 6 additions & 1 deletion content/docs/2.2/scalers/azure-service-bus.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,12 @@ You can authenticate by using pod identity or connection string authentication.

**Connection String Authentication:**

- `connection` - Connection string for Azure Service Bus Namespace.
- `connection` - Connection string for the Azure Service Bus Namespace.

The following formats are supported.

- With **SharedAccessKey** -
`Endpoint=sb://<sb>.servicebus.windows.net/;SharedAccessKeyName=<key name>;SharedAccessKey=<key value>`

### Example

Expand Down
7 changes: 6 additions & 1 deletion content/docs/2.3/scalers/azure-service-bus.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,12 @@ You can authenticate by using pod identity or connection string authentication.

**Connection String Authentication:**

- `connection` - Connection string for Azure Service Bus Namespace.
- `connection` - Connection string for the Azure Service Bus Namespace.

The following formats are supported.

- With **SharedAccessKey** -
`Endpoint=sb://<sb>.servicebus.windows.net/;SharedAccessKeyName=<key name>;SharedAccessKey=<key value>`

### Example

Expand Down
7 changes: 6 additions & 1 deletion content/docs/2.4/scalers/azure-service-bus.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,12 @@ You can authenticate by using pod identity or connection string authentication.

**Connection String Authentication:**

- `connection` - Connection string for Azure Service Bus Namespace.
- `connection` - Connection string for the Azure Service Bus Namespace.

The following formats are supported.

- With **SharedAccessKey** -
`Endpoint=sb://<sb>.servicebus.windows.net/;SharedAccessKeyName=<key name>;SharedAccessKey=<key value>`

### Example

Expand Down
7 changes: 6 additions & 1 deletion content/docs/2.5/scalers/azure-service-bus.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,12 @@ You can authenticate by using pod identity or connection string authentication.

**Connection String Authentication:**

- `connection` - Connection string for Azure Service Bus Namespace.
- `connection` - Connection string for the Azure Service Bus Namespace.

The following formats are supported.

- With **SharedAccessKey** -
`Endpoint=sb://<sb>.servicebus.windows.net/;SharedAccessKeyName=<key name>;SharedAccessKey=<key value>`

### Example

Expand Down
7 changes: 6 additions & 1 deletion content/docs/2.6/scalers/azure-service-bus.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,12 @@ You can authenticate by using pod identity or connection string authentication.

**Connection String Authentication:**

- `connection` - Connection string for Azure Service Bus Namespace.
- `connection` - Connection string for the Azure Service Bus Namespace.

The following formats are supported.

- With **SharedAccessKey** -
`Endpoint=sb://<sb>.servicebus.windows.net/;SharedAccessKeyName=<key name>;SharedAccessKey=<key value>`

### Example

Expand Down
7 changes: 6 additions & 1 deletion content/docs/2.7/scalers/azure-service-bus.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,12 @@ You can authenticate by using pod identity or connection string authentication.

**Connection String Authentication:**

- `connection` - Connection string for Azure Service Bus Namespace.
- `connection` - Connection string for the Azure Service Bus Namespace.

The following formats are supported.

- With **SharedAccessKey** -
`Endpoint=sb://<sb>.servicebus.windows.net/;SharedAccessKeyName=<key name>;SharedAccessKey=<key value>`

### Example

Expand Down
7 changes: 6 additions & 1 deletion content/docs/2.8/scalers/azure-service-bus.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,12 @@ You can authenticate by using pod identity or connection string authentication.

**Connection String Authentication:**

- `connection` - Connection string for Azure Service Bus Namespace.
- `connection` - Connection string for the Azure Service Bus Namespace.

The following formats are supported.

- With **SharedAccessKey** -
`Endpoint=sb://<sb>.servicebus.windows.net/;SharedAccessKeyName=<key name>;SharedAccessKey=<key value>`

**Pod identity based authentication:**

Expand Down
11 changes: 10 additions & 1 deletion content/docs/2.9/scalers/azure-service-bus.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,16 @@ You can authenticate by using pod identity or connection string authentication.

**Connection String Authentication:**

- `connection` - Connection string for Azure Service Bus Namespace.
- `connection` - Connection string for the Azure Service Bus Namespace.

The following formats are supported.

- With **SharedAccessKey** -
`Endpoint=sb://<sb>.servicebus.windows.net/;SharedAccessKeyName=<key name>;SharedAccessKey=<key value>`
- With **SharedAccessSignature** -
`Endpoint=sb://<sb>.servicebus.windows.net/;SharedAccessSignature=SharedAccessSignature sig=<signature-string>&se=<expiry>&skn=<keyName>&sr=<URL-encoded-resourceURI>`
Refer to this [page](https://docs.microsoft.com/en-us/azure/service-bus-messaging/service-bus-sas) for more information
on using Shared Access Signatures.

**Pod identity based authentication:**

Expand Down