Skip to content

[Bug]: obj signurl should reject times > the limit #894

Description

@jschauma

CLI Version

linode-cli v5.67.0 Built from spec version 4.224.0

Command

linode-cli obj signurl <BUCKET> <OBJECT> +31536000 happily spits out a URL, but trying to access it will give Access Denied.

Reducing the expiration to 24h works.

Given that there's a limit, the command should reject expiration times above the limit and error out.

Output

No response

Expected Behavior

Error: Expiration above limit (86400s / 24h).

Actual Behavior

Steps to Reproduce

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugissues that report a bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions