-
Notifications
You must be signed in to change notification settings - Fork 120
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
dd9550f
commit 9a4aef1
Showing
8 changed files
with
114 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 12 additions & 0 deletions
12
source/Octopus.Server.Client/Editors/AmazonWebServicesOidcAccountEditor.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
using Octopus.Client.Model.Accounts; | ||
using Octopus.Client.Repositories; | ||
|
||
namespace Octopus.Client.Editors | ||
{ | ||
public class AmazonWebServicesOidcAccountEditor : AccountEditor<AmazonWebServicesOidcAccountResource, AmazonWebServicesOidcAccountEditor> | ||
{ | ||
public AmazonWebServicesOidcAccountEditor(IAccountRepository repository) : base(repository) | ||
{ | ||
} | ||
} | ||
} |
12 changes: 12 additions & 0 deletions
12
source/Octopus.Server.Client/Editors/Async/AmazonWebServicesOidcAccountEditor.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
using Octopus.Client.Model.Accounts; | ||
using Octopus.Client.Repositories.Async; | ||
|
||
namespace Octopus.Client.Editors.Async | ||
{ | ||
public class AmazonWebServicesOidcAccountEditor : AccountEditor<AmazonWebServicesOidcAccountResource, AmazonWebServicesOidcAccountEditor> | ||
{ | ||
public AmazonWebServicesOidcAccountEditor(IAccountRepository repository) : base(repository) | ||
{ | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
24 changes: 24 additions & 0 deletions
24
source/Octopus.Server.Client/Model/Accounts/AmazonWebServicesOidcAccountResource.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
using System.ComponentModel.DataAnnotations; | ||
using Octopus.Client.Extensibility.Attributes; | ||
|
||
namespace Octopus.Client.Model.Accounts | ||
{ | ||
public class AmazonWebServicesOidcAccountResource : AccountResource | ||
{ | ||
public override AccountType AccountType => AccountType.AmazonWebServicesOidcAccount; | ||
|
||
[Trim] | ||
[Writeable] | ||
public string RoleArn { get; set; } | ||
|
||
[Trim] | ||
[Writeable] | ||
[Required] | ||
public string SessionDuration { get; set; } | ||
|
||
[Trim] | ||
[Writeable] | ||
[Required] | ||
public string Audience { get; set; } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters