Custom Roles and Policies
Policies
You manage access in Resmo by creating policies and attaching them to Roles. A policy is a group of access/deny statements that, when associated with a role, defines their permissions. Permissions in the policies determine whether the request is allowed or denied.
Statements
A statement is a container for permissions. A policy may contain up to 10 statements. You can define allow or deny statements inside the same policy. A statement consists of the following elements:
Actions: An action is an identifier for the method of the service.
Effect: Use
Allow
orDeny
to indicate whether the policy allows or denies access.Types: Some actions may require a type to restrict access granularly. It can be one or more than one of the following types:
Resource: It indicates whether the policy allows or denies specified resource types. This type starts with resource: prefix.
Integration: It indicates whether the policy allows or denies specified integration types. This type starts with integration: prefix.
Notification Channel: It indicates whether the policy allows or denies specified notification channel types. This type starts with channel: prefix.
Examples of policy syntax
The following policy allows access to AWS resources for query execution.
The following policy denies access to some of the sensitive resources for all actions.
How to create a custom policy
You can create custom roles and policies with the enterprise plan, but accessing these features can be requested.
How to create a custom policy using a policy builder
Log in to your Resmo account.
Click Settings from the navigation bar and then, Policies.
Give a name to your custom policy.
Select Allow or Deny from the Effect section.
Select one or more services from the Services dropdown. This selection will fill the actions dropdown.
Select one or more actions from the Actions dropdown.
You need to select allowed/denied types from the Types dropdown If you select type-dependent action. If you select an action without type dependency, you must give
*
or*:*
as type.An action with type dependency
An action without type dependency
Click the Create button.
How to create a custom policy from JSON
Log in to your Resmo account.
Click Settings from the navigation bar and then, Policies.
Give a name to your custom policy.
Open Advanced Mode.
Click the Create button.
Roles
A role is a container for the policies. A role may contain up to 10 policies. You can use roles to delegate access to users. You can group custom or managed policies to define user access levels.
Examples of role syntax
The following role gives the user read-only access to the not restricted resources inside the sensitive-data-deny policy.
How to create a custom role
You can create custom roles and policies with the enterprise plan, but accessing these features can be requested.
Log in to your Resmo account.
Click Settings from the navigation bar and then Roles.
Give a name to your custom policy.
Select one or more policies from the Policies dropdown. You can select max 10 policies for a role.
Click the Create button.
Support
Contact our team via live chat or email us at contact@resmo.com for further queries and support requests regarding Roles and Policies.
Last updated